summaryrefslogtreecommitdiff
path: root/package/x11vnc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-31 19:58:50 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-31 19:59:05 +0200
commit0d5a4bd73159fc794fdb417d49ab810b26e7d059 (patch)
tree53ef333b84afbbe7d6fed470885d716075295395 /package/x11vnc
parent9e3458d13ae01591479732c1fe0cada8fd2259b7 (diff)
rework static linking support, works with musl/glibc, fails to boot with uclibc (qemu-x86)
Diffstat (limited to 'package/x11vnc')
-rw-r--r--package/x11vnc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/x11vnc/Makefile b/package/x11vnc/Makefile
index 0ddc53651..f728dbe82 100644
--- a/package/x11vnc/Makefile
+++ b/package/x11vnc/Makefile
@@ -20,7 +20,7 @@ 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)
+ifeq ($(ADK_TARGET_USE_STATIC_LIBS),y)
MAKE_FLAGS+= CFLAGS="${TARGET_CFLAGS} -static" \
LIBS="-lxcb -lXau -lXdmcp -ldl -pthread -ljpeg -lz"
endif