]> git.pld-linux.org Git - packages/libxslt.git/commitdiff
- added bcond_without static_libs
authorwitekfl <witekfl@pld-linux.org>
Wed, 22 Jun 2005 14:23:28 +0000 (14:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libxslt.spec -> 1.117

libxslt.spec

index 364b1e5ab6922743a613e52a360af8afdcbcec0a..9b369bedec3e1be7c0009ea474ab590be474e218 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without static_libs     # don't build static library
+#
 %define                libxml2ver      1:2.6.19
 
 Summary:       XSLT processor
@@ -114,7 +118,8 @@ Modu
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+       %{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -158,9 +163,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_pkgconfigdir}/*.pc
 %{_aclocaldir}/*.m4
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
 
 %files progs
 %defattr(644,root,root,755)
This page took 1.052004 seconds and 4 git commands to generate.