[libsoup] Use configure --disable-static

Kalev Lember kalev at fedoraproject.org
Wed Feb 6 00:32:52 UTC 2013


commit 23354dc39700d9c04c21e0d97b58f651572f368b
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Tue Feb 5 23:31:55 2013 +0100

    Use configure --disable-static
    
    We used to first build the static library and then remove it with rm
    afterwards. This change avoids building the unwanted static library in
    the first place.

 libsoup.spec |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libsoup.spec b/libsoup.spec
index 2ae422f..af15d16 100644
--- a/libsoup.spec
+++ b/libsoup.spec
@@ -49,7 +49,7 @@ you to develop applications that use the libsoup library.
 %setup -q
 
 %build
-%configure
+%configure --disable-static
 
 # Omit unused direct shared library dependencies.
 sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool
@@ -60,7 +60,6 @@ make %{?_smp_mflags}
 make DESTDIR=$RPM_BUILD_ROOT install
 
 rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
-rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a
 
 %find_lang libsoup
 


More information about the scm-commits mailing list