summaryrefslogtreecommitdiff
path: root/package/x11vnc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/x11vnc/Makefile')
-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: