summaryrefslogtreecommitdiff
path: root/package/libXext/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libXext/Makefile')
-rw-r--r--package/libXext/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/libXext/Makefile b/package/libXext/Makefile
index fb4732d5e..7eb32914e 100644
--- a/package/libXext/Makefile
+++ b/package/libXext/Makefile
@@ -11,9 +11,13 @@ PKG_DESCR:= X client interface to extensions of the X protocol
PKG_SECTION:= x11
PKG_SITES:= ${MASTER_SITE_XORG}
+ifeq ($(ADK_STATIC),y)
+PKG_OPTS:= libonly
+endif
+
include $(TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,LIBXEXT,libxext,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBXEXT,libxext,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
CONFIGURE_STYLE:= gnu
CONFIGURE_ARGS+= --disable-malloc0returnsnull