summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2013-11-13 08:07:41 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-11-13 08:07:41 (GMT)
commitb6ee44b6d497f412b5b6c6223462a8a687c82af7 (patch)
tree0daf7f59b08194355e942378c9239a3366538ff2
parentbe930801a261930246fb7febea1b83eee9a661e1 (diff)
downloadbuildroot-b6ee44b6d497f412b5b6c6223462a8a687c82af7.tar.gz
buildroot-b6ee44b6d497f412b5b6c6223462a8a687c82af7.tar.bz2
libvncserver: fix build without pthread
Fixes http://autobuild.buildroot.net/results/761/7618028d0781269d2f6f0a14d814da456f207475/ Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/libvncserver/libvncserver.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libvncserver/libvncserver.mk b/package/libvncserver/libvncserver.mk
index fe48838..a96b8c5 100644
--- a/package/libvncserver/libvncserver.mk
+++ b/package/libvncserver/libvncserver.mk
@@ -15,6 +15,10 @@ LIBVNCSERVER_CONFIG_SCRIPTS = libvncserver-config
# only used for examples
LIBVNCSERVER_CONF_OPT += --with-sdl-config=/bin/false
+ifneq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
+LIBVNCSERVER_CONF_OPT += --without-pthread
+endif
+
ifneq ($(BR2_INET_IPV6),y)
LIBVNCSERVER_CONF_OPT += --without-ipv6
endif