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>
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