summaryrefslogtreecommitdiff
path: root/package/libX11/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-04 21:37:01 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-04 21:37:01 +0100
commit9bacd09cc5280924908fc4bba494856bbe37c47f (patch)
tree7a6d58d0887eda74012b461389db21015062c459 /package/libX11/Makefile
parent6045422139a0dbbefaf508b1343f11535d6b104e (diff)
some more additions for gtk+ library porting
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