summaryrefslogtreecommitdiffstats
path: root/package/x11vnc
diff options
context:
space:
mode:
Diffstat (limited to 'package/x11vnc')
-rw-r--r--package/x11vnc/x11vnc.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/x11vnc/x11vnc.mk b/package/x11vnc/x11vnc.mk
index 444a83962..51ae0a0fb 100644
--- a/package/x11vnc/x11vnc.mk
+++ b/package/x11vnc/x11vnc.mk
@@ -11,4 +11,10 @@ X11VNC_CONF_OPT = \
X11VNC_DEPENDENCIES = xlib_libXt xlib_libXext
+ifneq ($(BR2_INET_IPV6),y)
+# configure option only used for libvncserver
+X11VNC_CONF_OPT += --without-ipv6
+X11VNC_CONF_ENV += CFLAGS='$(TARGET_CFLAGS) -DX11VNC_IPV6=0'
+endif
+
$(eval $(autotools-package))