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