[Buildroot] [PATCH 1/3] openssl: fix libdir issue bug #3205

Gustavo Zacarias gustavo at zacarias.com.ar
Thu Feb 3 20:45:55 UTC 2011


OpenSSL's build system tries to be too wise for it's own good when
guessing what libdir should be.
This causes problems like the one reported in bug #3205 so just specify
libdir to point to /lib (since it's prefixed it would finally be
/usr/lib) since it should be present on 32 and 64 bit targets.

Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
---
 package/openssl/openssl.mk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/package/openssl/openssl.mk b/package/openssl/openssl.mk
index e35eaa3..95459ec 100644
--- a/package/openssl/openssl.mk
+++ b/package/openssl/openssl.mk
@@ -41,6 +41,7 @@ define OPENSSL_CONFIGURE_CMDS
 			linux-$(OPENSSL_TARGET_ARCH) \
 			--prefix=/usr \
 			--openssldir=/etc/ssl \
+			--libdir=/lib \
 			threads \
 			shared \
 			no-idea \
-- 
1.7.3.4



More information about the buildroot mailing list