aboutsummaryrefslogtreecommitdiff
path: root/package/openssl
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2015-04-12 17:06:36 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-19 11:38:37 +0200
commitffd5125be14dbd1293571267a76a76eea3ede188 (patch)
tree241b181bd9ecd2550a3d113ceed882f1e73c9439 /package/openssl
parentfb1e02ed352242b9171730d6f6eabafd52063b82 (diff)
downloadbuildroot-ffd5125be14dbd1293571267a76a76eea3ede188.tar.gz
buildroot-ffd5125be14dbd1293571267a76a76eea3ede188.tar.bz2
package/openssl: bin/openssl depends on dynamic linking
Fixes /home/br/br3/output/host/usr/lib/gcc/i586-buildroot-linux-uclibc/4.8.4/../../../../i586-buildroot-linux-uclibc/bin/ld: cannot find -ldl using this defconfig BR2_STATIC_LIBS=y BR2_PACKAGE_OPENSSL=y BR2_PACKAGE_OPENSSL_BIN=y Quoting PROBLEMS: "We don't have framework to associate -ldl with no-dso, therefore the only way is to edit Makefile right after ./config no-dso and remove -ldl from EX_LIBS line." To not make the build procedure more complicated disable static building of bin/openssl. [Thomas: add corresponding kconfig comment.] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/openssl')
-rw-r--r--package/openssl/Config.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/openssl/Config.in b/package/openssl/Config.in
index a9990e84dc..07859ca0c7 100644
--- a/package/openssl/Config.in
+++ b/package/openssl/Config.in
@@ -15,10 +15,15 @@ config BR2_PACKAGE_OPENSSL_BIN
bool "openssl binary"
# uses fork()
depends on BR2_USE_MMU
+ depends on !BR2_STATIC_LIBS
help
Install the openssl binary to the target file system. This is a
command line tool for doing various crypthographic stuff.
+comment "openssl binary needs a toolchain w/ dynamic library"
+ depends on BR2_USE_MMU
+ depends on BR2_STATIC_LIBS
+
config BR2_PACKAGE_OPENSSL_ENGINES
bool "openssl additional engines"
help