From 23354dc39700d9c04c21e0d97b58f651572f368b Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 5 Feb 2013 23:31:55 +0100 Subject: [PATCH] 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 file changed, 1 insertion(+), 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