--as-needed
Elan Ruusamäe
glen at delfi.ee
Wed Feb 20 22:04:33 CET 2008
pardon me for not understanding how it should work
what i see is that all programs linking against curl also depend on libssh2.
shouldn't that libssh2 dep wiped out by --as-needed?
as the result all pkgs linking with curl have also libssh2 soname dep in pkg,
while i could easily rebuild curl with new ssh2 library, but due the
propagated ssh2 dep, i should also rebuild rest of the world.
or it's curl-config fault that it poisons the libs?
$ curl-config --libs
-lcurl -lidn -lssh2 -lssl -lcrypto -lldap -lz
$ q libtunepimp --requires|grep curl
curl-libs
libcurl.so.4
$ q libtunepimp --requires|grep ssh
libssh2
libssh2.so.1
$ egrep 'ssh|curl' libtunepimp.spec
BuildRequires: curl-devel
Requires: curl-devel
--
glen
More information about the pld-devel-en
mailing list