openssl: fix static build
authorBenoît Thébaudeau <benoit@wsystem.com>
Tue, 7 Jul 2015 10:37:58 +0000 (12:37 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 9 Jul 2015 06:54:00 +0000 (08:54 +0200)
commitca58207df09caa6f2e40bad09d919f63b7406cbf
treef31d589a5a641ccd90cc5e5ce81d0e5d9b415997
parent2b47c7f095fbb545ce38654ed276bfdcf73e5913
openssl: fix static build

If configured with no-dso, the openssl binary still gets linked with
-ldl, while libdl is not available for static-only builds. The OpenSSL
framework does not support automatically dropping -ldl with no-dso, so
-ldl has to be removed from Makefile after calling ./Configure as
explained in PROBLEMS.

Fixes http://autobuild.buildroot.org/results/cbb35f2582f1cfeb3d11cb4952a80784ff660baf

[Peter: add reference to PROBLEMS file]
Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/openssl/openssl.mk