package/libwebsock: allow building without SSL
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 4 Jan 2015 11:07:42 +0000 (12:07 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 4 Jan 2015 20:33:21 +0000 (21:33 +0100)
commit2967f17c5281a4ab7f85f46fd60e34d91e9c1eb7
tree5ac0ed2bdfa3857cbae3c1a4c661f3da6250da03
parentfe430adc2868f6317bab8e73625a0f32181b7ad7
package/libwebsock: allow building without SSL

libwebsock can optionally use SL, and defaults to using it without
checking for its presence first.

Just disable SSL support if openssl is not enabled, and ensure it is
built before libwebsock if it is enabled.

Add a patch to fix SSL conditional build.

Fixes:
    http://autobuild.buildroot.org/results/2c4/2c49e45667aaf2f2a59ace94885b9d4ed98038d7/
    http://autobuild.buildroot.org/results/517/517bc814732f86dc6dd1a5c91148ce52ec9803f7/
    http://autobuild.buildroot.org/results/951/95109c7e37aa21228bc71c69e9c66a6821f3174a/
    ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gregory Dymarek <gregd72002@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libwebsock/0002-fix-ssl.patch [new file with mode: 0644]
package/libwebsock/libwebsock.mk