[Buildroot] [PATCH] libvncserver: OpenSSL support needs NPTL thread support

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Dec 28 16:34:54 UTC 2014


The OpenSSL support of libvncserver already has a dependency on thread
support, but it in fact requires NPTL threading.

Fixes:

  http://autobuild.buildroot.org/results/be2/be20dec9ffe7de3adc46a834852b20353d39baff/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/libvncserver/libvncserver.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/libvncserver/libvncserver.mk b/package/libvncserver/libvncserver.mk
index ed6b64d..87bcf45 100644
--- a/package/libvncserver/libvncserver.mk
+++ b/package/libvncserver/libvncserver.mk
@@ -32,8 +32,8 @@ ifneq ($(BR2_INET_IPV6),y)
 LIBVNCSERVER_CONF_OPTS += --without-ipv6
 endif
 
-# openssl supports needs pthread
-ifeq ($(BR2_PACKAGE_OPENSSL)$(BR2_TOOLCHAIN_HAS_THREADS),yy)
+# openssl supports needs NPTL thread support
+ifeq ($(BR2_PACKAGE_OPENSSL)$(BR2_TOOLCHAIN_HAS_THREADS_NPTL),yy)
 LIBVNCSERVER_DEPENDENCIES += openssl
 else
 LIBVNCSERVER_CONF_OPTS += --without-crypto --without-ssl
-- 
2.1.0



More information about the buildroot mailing list