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

- revert the curl-config change for bsc#900419 until we have a better
  fix, because it was breaking builds of other packages

OBS-URL: https://build.opensuse.org/request/show/339793
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=146
This commit is contained in:
Ismail Dönmez 2015-10-19 09:39:40 +00:00 committed by Git OBS Bridge
parent f6ed93560a
commit d36b376f47
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Oct 19 09:35:04 UTC 2015 - vcizek@suse.com
- revert the curl-config change for bsc#900419 until we have a better
fix, because it was breaking builds of other packages
-------------------------------------------------------------------
Sun Oct 18 21:43:16 UTC 2015 - crrodriguez@opensuse.org

View File

@ -109,6 +109,10 @@ 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}
@ -128,6 +132,8 @@ autoreconf -fi
--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}