libwebsockets: needs host-openssl when built with openssl support
authorPeter Korsgaard <peter@korsgaard.com>
Mon, 3 Nov 2014 10:03:30 +0000 (11:03 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 3 Nov 2014 10:04:46 +0000 (11:04 +0100)
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 <peter@korsgaard.com>
package/libwebsockets/libwebsockets.mk

index 71a520d7ac368139f636c6894a9e330d33e73e5d..e1a1aa38bcfe54965810c2e442389e7cd4f2bdd0 100644 (file)
@@ -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