[Lunar-commits] <moonbase> discover: disabled static libs and fixed build without expats static libs

Duncan Gibson engelsman at lunar-linux.org
Thu Mar 24 21:36:48 CET 2011


commit bac9951254fc610cd940b8525cb716542e93bcb4
Author: Christian Krause <kizkizzbangbang at googlemail.com>
Date:   Thu Mar 24 21:36:48 2011 +0100

    discover: disabled static libs and fixed build without expats static libs
---
 utils/discover/BUILD |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/utils/discover/BUILD b/utils/discover/BUILD
index 7d700cd..dda2457 100644
--- a/utils/discover/BUILD
+++ b/utils/discover/BUILD
@@ -9,9 +9,14 @@
     sedit 's:docbook-to-man:echo:' doctools/docbook.mk
   fi  &&
 
-  OPTS+=" --disable-curl"
+  OPTS+=" --disable-curl --enable-shared --disable-static"
 
   default_config  &&
+
+  # hack the statics away
+  sedit "s/all: discover discover-static/all: discover/g" discover/Makefile &&
+  sedit "/\${INSTALL_PROGRAM} discover-static/d" discover/Makefile &&
+
   make  &&
   make check  &&
   prepare_install  &&


More information about the Lunar-commits mailing list