[Lunar-commits] <moonbase> w3c-libwww: Fix wrong usage of bad_flags.

Jannis Pohlmann jannis at lunar-linux.org
Mon Mar 9 17:51:52 CET 2009


commit c4fbe249c5a51cc0f76c6d70c7cc56e502da01bf
Author: Jannis Pohlmann <jannis at lunar-linux.org>
Date:   Mon Mar 9 17:51:52 2009 +0100

    w3c-libwww: Fix wrong usage of bad_flags.
    
    bad_flags "--as-needed" breaks the linker. Instead, you have to use
    bad_flags "-Wl,-O1,--as-needed" and bad_flags "-Wl,--as-needed".
---
 web/w3c-libwww/BUILD |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/web/w3c-libwww/BUILD b/web/w3c-libwww/BUILD
index 7d6370a..8549564 100644
--- a/web/w3c-libwww/BUILD
+++ b/web/w3c-libwww/BUILD
@@ -1,12 +1,13 @@
 (
   
-  sedit "s:/lib/mysql/:/lib/:" configure  &&
-  sedit "s/(char\ \*)//g" Library/src/HTMethod.c  &&
-   
   OPTS=$OPTS"--enable-shared --with-zlib --with-md5 --with-dav \
              --with-expat --with-extension --without-mysql"
 
-  bad_flags "--as-needed" &&
+  sedit "s:/lib/mysql/:/lib/:" configure  &&
+  sedit "s/(char\ \*)//g" Library/src/HTMethod.c  &&
+   
+  bad_flags "-Wl,-O1,--as-needed"  &&
+  bad_flags "-Wl,--as-needed"  &&
 
   default_build
 


More information about the Lunar-commits mailing list