summaryrefslogtreecommitdiff
path: root/package/x11vnc
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/x11vnc
parent9d4bc97935f909eb31969f8ec40c9bb6698a5e3f (diff)
static linking is very package dependent, so do not handle it globally
Diffstat (limited to 'package/x11vnc')
-rw-r--r--package/x11vnc/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/x11vnc/Makefile b/package/x11vnc/Makefile
index e6649892d..74e01e1f7 100644
--- a/package/x11vnc/Makefile
+++ b/package/x11vnc/Makefile
@@ -17,6 +17,11 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,X11VNC,x11vnc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+ifeq ($(ADK_STATIC),y)
+MAKE_FLAGS+= CFLAGS="${TARGET_CFLAGS} -static" \
+ LIBS="-lxcb -lXau -lXdmcp -ldl -pthread -ljpeg -lz"
+endif
+
CONFIGURE_ARGS+= --without-ssl
x11vnc-install: