Skip to content

Commit

Permalink
w3c-libwww: fix --as-needed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
v4hn committed Apr 3, 2013
1 parent dd362ee commit 4a136b4
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions web/w3c-libwww/BUILD
@@ -1,14 +1,10 @@
(
OPTS+="--enable-shared --disable-static --with-zlib --with-md5 \
--with-dav --with-expat --with-extension --without-mysql"

OPTS=$OPTS"--enable-shared --disable-static --with-zlib --with-md5 \
--with-dav --with-expat --with-extension --without-mysql"
# --as-needed bug in library order
sedit "/^LDADD =/ s:\(../src/libwwwfile.la\):\1 ../src/libwwwdir.la ../src/libwwwhtml.la:" Library/Examples/Makefile.in &&

sedit "s:/lib/mysql/:/lib/:" configure &&
sedit "s/(char\ \*)//g" Library/src/HTMethod.c &&
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

) > $C_FIFO 2>&1
default_build

0 comments on commit 4a136b4

Please sign in to comment.