summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-12-02 13:50:44 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-12-02 13:50:44 +0100
commit93f115b74d90ab06c101d37225fb6125d5dc33de (patch)
treed7135edf680ef1288d023c8e78668ad9baed7b18 /package
parentc7677a9c8b6f4aa0733006f4cf0e20a2b9bef2df (diff)
allow libpopt to be statically build
Diffstat (limited to 'package')
-rw-r--r--package/popt/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/popt/Makefile b/package/popt/Makefile
index 9a59abba3..2c355dbfb 100644
--- a/package/popt/Makefile
+++ b/package/popt/Makefile
@@ -16,9 +16,13 @@ PKG_SITES:= http://rpm5.org/files/popt/
PKG_SUBPKGS:= LIBPOPT
+ifeq ($(ADK_STATIC),y)
+PKG_OPTS:= libonly
+endif
+
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBPOPT,libpopt,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBPOPT,libpopt,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
post-install:
${INSTALL_DIR} ${IDIR_LIBPOPT}/usr/lib