libvncserver: OpenSSL support needs NPTL thread support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 28 Dec 2014 16:34:54 +0000 (17:34 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 31 Dec 2014 14:13:43 +0000 (15:13 +0100)
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@free-electrons.com>
package/libvncserver/libvncserver.mk

index ed6b64d95b5e5f2de32b3f9fd880bd47ab677da3..87bcf457200c7dcc83d57f07bbff4d99077294b2 100644 (file)
@@ -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