commit 59d101968aa2d108f007f20541a4e877e1b2c1ee
parent 8cc6bd8d7ad13ffd3e1058019fa1c9862f3fc6ce
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 2 Jun 2014 14:01:51 +0200
expat: fix static build for xmlwf bin
add install rule
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat:
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/expat/expat.mk b/expat/expat.mk
@@ -3,12 +3,16 @@ TARG = expat
<$mkbuild/mk.common-noinst
expat:QV:
- # TODO: $ROOT/bin/xmlwf is not staticly linked.
./configure --prefix="$PREFIX" \
--mandir="$ROOT/share/man" \
--disable-shared \
--enable-static
# make and install.
- make -j$nprocs install DESTDIR="`pwd`/lib"
+ make -j$nprocs install \
+ LDFLAGS="-all-static $LDFLAGS" DESTDIR="`pwd`/lib"
# remove .la files for now ?
find `pwd`/lib -iname "*.la" -exec rm {} \;
+
+install:QV:
+ make -j$nprocs install \
+ LDFLAGS="-all-static $LDFLAGS" DESTDIR="$ROOT"