Commit f8e4365e authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

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: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 43becdba
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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)