package/libopenssl: fix static build
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 31 May 2019 13:39:28 +0000 (15:39 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 31 May 2019 22:12:21 +0000 (00:12 +0200)
commit8c2c959b028d44f5518d4445f864aedae3d90406
treeca262145fd4908dfb773665d2de2da3e3d685062
parent86752a62116488e90c8a4dd8c0d5595d48362ebb
package/libopenssl: fix static build

no-dso option has been removed with
https://github.com/openssl/openssl/commit/31b6ed76dfd53529b74e79830c81372d0b756929

To fix this error, use "gcc" target in static builds. This target is
very minimalistic, we need to manually pass -lpthread and
-DOPENSSL_THREADS however we can also remove libdl workarounds

Fixes:
 - http://autobuild.buildroot.org/results/96d6b89d20980e8f7fa450b832474a81d492b315

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libopenssl/libopenssl.mk