]> git.pld-linux.org Git - packages/allegro.git/blobdiff - allegro.spec
- enable build static versions of library (static bcond) when running cmake
[packages/allegro.git] / 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.095741 seconds and 4 git commands to generate.