summaryrefslogtreecommitdiff
path: root/package/libXi/Makefile
diff options
context:
space:
mode:
authorwbx <wbx@openadk.org>2011-04-29 18:09:11 +0200
committerwbx <wbx@openadk.org>2011-04-29 18:09:11 +0200
commited5d1f8b7bfb0015e22dbc95f01a253a81b81f36 (patch)
tree0f0020fa0eb348a1bbbd044b7733c3e8e242e146 /package/libXi/Makefile
parent7cc2a1778bdea47e6737ed6109fc88e32253a41b (diff)
parentfb5986b361eae7893a57e92ec0a4f820b89bc527 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
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