Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] fix host-openssl binary installation
@ 2016-02-17 10:41 Matthew Shyu
  2016-02-17 15:02 ` Peter Korsgaard
  0 siblings, 1 reply; 6+ messages in thread
From: Matthew Shyu @ 2016-02-17 10:41 UTC (permalink / raw)
  To: buildroot

From: Matthew Shyu <matthew.shyu@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@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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-02-19 10:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-17 10:41 [Buildroot] [PATCH 1/1] fix host-openssl binary installation Matthew Shyu
2016-02-17 15:02 ` Peter Korsgaard
2016-02-18  1:05   ` matthew.amlogic shyu
2016-02-19 10:18     ` Peter Korsgaard
2016-02-19 10:33       ` matthew.amlogic shyu
2016-02-19 10:36         ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox