summaryrefslogtreecommitdiff
path: root/package/libXi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libXi/Makefile')
-rw-r--r--package/libXi/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/libXi/Makefile b/package/libXi/Makefile
index 19e9325a4..bdf1c54c8 100644
--- a/package/libXi/Makefile
+++ b/package/libXi/Makefile
@@ -13,9 +13,13 @@ PKG_BUILDDEP:= xproto xextproto libXext
PKG_URL:= http://xorg.freedesktop.org/
PKG_SITES:= ${MASTER_SITE_XORG}
+ifeq ($(ADK_STATIC),y)
+PKG_OPTS:= libonly
+endif
+
include $(TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,LIBXI,libxi,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBXI,libxi,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},$(PKG_OPTS)))
CONFIGURE_ARGS+= --disable-malloc0returnsnull