summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2013-11-22 21:41:01 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-11-22 21:45:00 (GMT)
commitf8e4365e997abe583a496f852a804436d116da0d (patch)
tree374a75a5803b51cdddaa8e8f12ba7aead2b0919f
parent43becdba4c021b419914a859bcff463350aac426 (diff)
downloadbuildroot-f8e4365e997abe583a496f852a804436d116da0d.tar.gz
buildroot-f8e4365e997abe583a496f852a804436d116da0d.tar.bz2
libvncserver: openssl support needs pthreads
Fixes http://autobuild.buildroot.net/results/c30/c3082693fe0da0c54d4bbf950dd6d74e1395c1d9/ Also pass --without-ssl if that isn't the case, as the configure script otherwise ends up detecting openssl if built before libvncserver. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/libvncserver/libvncserver.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/libvncserver/libvncserver.mk b/package/libvncserver/libvncserver.mk
index a96b8c5..f5a0aef 100644
--- a/package/libvncserver/libvncserver.mk
+++ b/package/libvncserver/libvncserver.mk
@@ -23,10 +23,11 @@ ifneq ($(BR2_INET_IPV6),y)
LIBVNCSERVER_CONF_OPT += --without-ipv6
endif
-ifeq ($(BR2_PACKAGE_OPENSSL),y)
+# openssl supports needs pthread
+ifeq ($(BR2_PACKAGE_OPENSSL)$(BR2_TOOLCHAIN_HAS_THREADS),yy)
LIBVNCSERVER_DEPENDENCIES += openssl
else
-LIBVNCSERVER_CONF_OPT += --without-crypto
+LIBVNCSERVER_CONF_OPT += --without-crypto --without-ssl
endif
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)