Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/erlang: build host erlang with ssl support to match target
@ 2014-08-13 22:27 Yann E. MORIN
  2014-08-14 14:43 ` Frank Hunleth
  2014-08-15  8:36 ` Thomas Petazzoni
  0 siblings, 2 replies; 7+ messages in thread
From: Yann E. MORIN @ 2014-08-13 22:27 UTC (permalink / raw)
  To: buildroot

If the target erlang has SSL support, so shoud the host-erlang.

Suggested-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
Cc: Johan Oudinet <johan.oudinet@gmail.com>

---
Note: I am not sure whether this is the correct solution, to match the
host SSL support to the target SSL support. I'll let the erlang experts
enhance that patch if need be. ;-)
---
 package/erlang/erlang.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/erlang/erlang.mk b/package/erlang/erlang.mk
index 1278682..b7ff9c1 100644
--- a/package/erlang/erlang.mk
+++ b/package/erlang/erlang.mk
@@ -34,8 +34,11 @@ endif
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 ERLANG_CONF_OPT += --with-ssl
 ERLANG_DEPENDENCIES += openssl
+HOST_ERLANG_DEPENDENCIES += host-openssl
+HOST_ERLANG_CONF_OPT += --with-ssl=$(HOST_DIR)/usr
 else
 ERLANG_CONF_OPT += --without-ssl
+HOST_ERLANG_CONF_OPT += --without-ssl
 endif
 
 ifeq ($(BR2_PACKAGE_ZLIB),y)
-- 
1.9.1

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

end of thread, other threads:[~2014-08-15 16:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-13 22:27 [Buildroot] [PATCH] package/erlang: build host erlang with ssl support to match target Yann E. MORIN
2014-08-14 14:43 ` Frank Hunleth
2014-08-15  8:36 ` Thomas Petazzoni
2014-08-15 12:33   ` Frank Hunleth
2014-08-15 15:43     ` Yann E. MORIN
2014-08-15 16:29       ` Thomas Petazzoni
2014-08-15 16:44         ` Yann E. MORIN

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