diff --git a/buildout/software-profiles/w3m.cfg b/buildout/software-profiles/w3m.cfg index bef0f17de17a5b52f8e58840de1e88ffa2bbf2ec..3c1377598a81e30bd7e48a9adb9c1be104515839 100644 --- a/buildout/software-profiles/w3m.cfg +++ b/buildout/software-profiles/w3m.cfg @@ -29,4 +29,5 @@ configure-options = environment = PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig CPPFLAGS =-I${ncurses:location}/include/ -I${zlib:location}/include/ - LDFLAGS =-L${garbage-collector:location}/lib -Wl,-rpath -Wl,${garbage-collector:location}/lib -L${ncurses:location}/lib -Wl,-rpath -Wl,${ncurses:location}/lib -L${openssl:location}/lib -Wl,-rpath -Wl,${openssl:location}/lib -L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib + LDFLAGS =-Wl,--as-needed -L${garbage-collector:location}/lib -Wl,-rpath -Wl,${garbage-collector:location}/lib -L${ncurses:location}/lib -Wl,-rpath -Wl,${ncurses:location}/lib -L${openssl:location}/lib -Wl,-rpath -Wl,${openssl:location}/lib -L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib +a=a \ No newline at end of file diff --git a/buildout/tests/assertSoftware.py b/buildout/tests/assertSoftware.py index ef80ed7ca4e540fab746e1ff2b9689444d7f1140..334155be5f59cd7a78afc39c1ac0ead8f9452093 100644 --- a/buildout/tests/assertSoftware.py +++ b/buildout/tests/assertSoftware.py @@ -1404,12 +1404,10 @@ class AssertW3m(AssertSoftwareMixin): def test_ld_w3m(self): self.assertLibraryList('parts/w3m/bin/w3m', [ 'libc', - 'libdl', 'libcrypto', 'libgc', 'libm', 'libncurses', - 'libnsl', 'libssl', ], [ 'garbage-collector',