summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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