From 93f115b74d90ab06c101d37225fb6125d5dc33de Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 2 Dec 2010 13:50:44 +0100 Subject: allow libpopt to be statically build --- package/popt/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'package') 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 -- cgit v1.2.3