From: Peter Korsgaard Date: Mon, 3 Nov 2014 10:03:30 +0000 (+0100) Subject: libwebsockets: needs host-openssl when built with openssl support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=037a5d3655a78176deebd466c42b1fbdf6d837e0;p=buildroot.git libwebsockets: needs host-openssl when built with openssl support Fixes http://autobuild.buildroot.net/results/d01/d0190a6e5c6b5aa78cfefc29e4e8a4e4b135450b/ http://autobuild.buildroot.net/results/9bb/9bb8defedb8024de83eb3a609ab584efb5d0d2b0/ http://autobuild.buildroot.net/results/e4a/e4a1b298e7e158d3614b89e61d40ef9a00e7ff67/ http://autobuild.buildroot.net/results/5e2/5e24a90058111f7d5618047410f809b45bc165f6/ And many others. The build system wants to create a ssl key for testing using host-openssl, so ensure it is available. Signed-off-by: Peter Korsgaard --- diff --git a/package/libwebsockets/libwebsockets.mk b/package/libwebsockets/libwebsockets.mk index 71a520d7ac..e1a1aa38bc 100644 --- a/package/libwebsockets/libwebsockets.mk +++ b/package/libwebsockets/libwebsockets.mk @@ -21,7 +21,7 @@ LIBWEBSOCKETS_CONF_OPTS += -DLWS_IPV6=OFF endif ifeq ($(BR2_PACKAGE_OPENSSL),y) -LIBWEBSOCKETS_DEPENDENCIES += openssl +LIBWEBSOCKETS_DEPENDENCIES += openssl host-openssl LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_SSL=ON else LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_SSL=OFF