Accepting request 326699 from home:vitezslav_cizek:branches:devel:libraries:c_c++

- drop a hack that made curl-config print only -lcurl (bsc#900419)
  * --as-needed is used by default now

OBS-URL: https://build.opensuse.org/request/show/326699
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=143
This commit is contained in:
Ismail Dönmez 2015-08-26 08:19:18 +00:00 committed by Git OBS Bridge
parent 4746012054
commit 9fc1eac3cb
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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}