summaryrefslogtreecommitdiff
path: root/package/libXi
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-04-29 08:41:13 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-04-29 08:41:13 +0200
commit023429a695e318bdbceef0ce5903060d361e15b2 (patch)
tree63dc4d49fb28f69d4d3888210c3da8fdb449c571 /package/libXi
parent9d4bc97935f909eb31969f8ec40c9bb6698a5e3f (diff)
static linking is very package dependent, so do not handle it globally
Diffstat (limited to 'package/libXi')
-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