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:
parent
4746012054
commit
9fc1eac3cb
@ -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
|
Fri Aug 14 09:02:40 UTC 2015 - vcizek@suse.com
|
||||||
|
|
||||||
|
@ -110,10 +110,6 @@ export CPPFLAGS CFLAGS
|
|||||||
export CFLAGS="$CFLAGS -fPIE"
|
export CFLAGS="$CFLAGS -fPIE"
|
||||||
export LDFLAGS="$LDFLAGS -pie"
|
export LDFLAGS="$LDFLAGS -pie"
|
||||||
autoreconf -fi
|
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 \
|
%configure \
|
||||||
--enable-ipv6 \
|
--enable-ipv6 \
|
||||||
%if %{with openssl}
|
%if %{with openssl}
|
||||||
@ -133,8 +129,6 @@ sed -i 's/\(link_all_deplibs=\)unknown/\1no/' configure
|
|||||||
--enable-threaded-resolver \
|
--enable-threaded-resolver \
|
||||||
--with-libmetalink
|
--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
|
# enable-hidden-symbols needs gcc4 and causes that curl exports only its API
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user