diff --git a/curl.changes b/curl.changes index 9eac37f..c96d2bd 100644 --- a/curl.changes +++ b/curl.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Aug 26 07:29:40 UTC 2015 - vcizek@suse.com + +- drop a hack that made curl-config print only -lcurl (bsc#900419) + * --as-needed is used by default now + ------------------------------------------------------------------- Fri Aug 14 09:02:40 UTC 2015 - vcizek@suse.com diff --git a/curl.spec b/curl.spec index 8d4fac0..35e3cfd 100644 --- a/curl.spec +++ b/curl.spec @@ -110,10 +110,6 @@ export CPPFLAGS CFLAGS export CFLAGS="$CFLAGS -fPIE" export LDFLAGS="$LDFLAGS -pie" autoreconf -fi -# local hack to make curl-config --libs stop printing libraries it depends on -# (currently, libtool sets link_all_deplibs=(yes|unknown) everywhere, -# will hopefully change in the future) -sed -i 's/\(link_all_deplibs=\)unknown/\1no/' configure %configure \ --enable-ipv6 \ %if %{with openssl} @@ -133,8 +129,6 @@ sed -i 's/\(link_all_deplibs=\)unknown/\1no/' configure --enable-threaded-resolver \ --with-libmetalink -# if this fails, the above sed hack did not work -./libtool --config | grep -q link_all_deplibs=no # enable-hidden-symbols needs gcc4 and causes that curl exports only its API make %{?_smp_mflags}