summaryrefslogtreecommitdiff
path: root/package/libX11/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libX11/Makefile')
-rw-r--r--package/libX11/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/libX11/Makefile b/package/libX11/Makefile
index 64983af3c..6a820cf15 100644
--- a/package/libX11/Makefile
+++ b/package/libX11/Makefile
@@ -11,9 +11,13 @@ PKG_DESCR:= X11 client-side library
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,LIBX11,libx11,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBX11,libx11,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
XAKE_FLAGS+= HOSTCPPFLAGS=-I${STAGING_DIR}/usr/include/xproto
CONFIGURE_STYLE:= gnu