[Erp5-report] r40810 kazuhiko - in /erp5/trunk/buildout: software-profiles/ tests/

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Nov 26 20:19:47 CET 2010


Author: kazuhiko
Date: Fri Nov 26 20:19:47 2010
New Revision: 40810

URL: http://svn.erp5.org?rev=40810&view=rev
Log:
add '-Wl,--as-needed' to avoid linking needless libraries.

Modified:
    erp5/trunk/buildout/software-profiles/w3m.cfg
    erp5/trunk/buildout/tests/assertSoftware.py

Modified: erp5/trunk/buildout/software-profiles/w3m.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/software-profiles/w3m.cfg?rev=40810&r1=40809&r2=40810&view=diff
==============================================================================
--- erp5/trunk/buildout/software-profiles/w3m.cfg [utf8] (original)
+++ erp5/trunk/buildout/software-profiles/w3m.cfg [utf8] Fri Nov 26 20:19:47 2010
@@ -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

Modified: erp5/trunk/buildout/tests/assertSoftware.py
URL: http://svn.erp5.org/erp5/trunk/buildout/tests/assertSoftware.py?rev=40810&r1=40809&r2=40810&view=diff
==============================================================================
--- erp5/trunk/buildout/tests/assertSoftware.py [utf8] (original)
+++ erp5/trunk/buildout/tests/assertSoftware.py [utf8] Fri Nov 26 20:19:47 2010
@@ -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',




More information about the Erp5-report mailing list