]> git.pld-linux.org Git - packages/allegro.git/commitdiff
- enable build static versions of library (static bcond) when running cmake
authorlisu <lisu@pld-linux.org>
Fri, 13 Feb 2009 09:40:30 +0000 (09:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    allegro.spec -> 1.71.2.7

allegro.spec

index 7149758e35d18a8086f519aaf0ef08ab3ef2d820..f3eab31878dc11b32665026879f0f96c0ac2023e 100644 (file)
@@ -460,7 +460,8 @@ biblioteki allegro.
 mkdir Build
 cd Build
 %cmake .. \
-       -DCMAKE_INSTALL_PREFIX="%{_prefix}"
+       -DCMAKE_INSTALL_PREFIX="%{_prefix}" \
+       %{?with_static:-DSHARED="off"} \
 
 %{__make}
 #%%{__make} \
This page took 0.035836 seconds and 4 git commands to generate.