[Buildroot] [PATCH 1/1] fix host-openssl binary installation

Matthew Shyu matthew.shyu.amlogic at gmail.com
Wed Feb 17 10:41:26 UTC 2016


From: Matthew Shyu <matthew.shyu at amlogic.com>

The Configure script in openssl takes install_prefix from env by default
$install_prefix= "$ENV{'INSTALL_PREFIX'}"
However, the INSTALL_PREFIX points to *TARGET* folder instead of
*HOST* folder.
This is fixed by intentionally setting install_prefix to blank.

Signed-off-by: Matthew Shyu <matthew.shyu at amlogic.com>
---
 package/openssl/openssl.mk |    1 +
 1 file changed, 1 insertion(+)

diff --git a/package/openssl/openssl.mk b/package/openssl/openssl.mk
index b7498a7..c35e93f 100644
--- a/package/openssl/openssl.mk
+++ b/package/openssl/openssl.mk
@@ -63,6 +63,7 @@ define HOST_OPENSSL_CONFIGURE_CMDS
 		$(HOST_CONFIGURE_OPTS) \
 		./config \
 		--prefix=$(HOST_DIR)/usr \
+		--install_prefix= \
 		--openssldir=$(HOST_DIR)/etc/ssl \
 		--libdir=/lib \
 		shared \
-- 
1.7.9.5




More information about the buildroot mailing list