Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/tn5250: fix static linking problem
@ 2015-08-26  8:59 Vicente Olivert Riera
  2015-08-26  9:08 ` Baruch Siach
  0 siblings, 1 reply; 10+ messages in thread
From: Vicente Olivert Riera @ 2015-08-26  8:59 UTC (permalink / raw)
  To: buildroot

tn5250 fails to link with openssl when building statically. We need to
add the needed libraries to the LIBS configure environment variable in
order to make tn5250 able to find them.

Fixes:

  http://autobuild.buildroot.net/results/95f/95f6df0d01e4944ecd84e830e2bbd8389e1d3e3d/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
 package/tn5250/tn5250.mk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/package/tn5250/tn5250.mk b/package/tn5250/tn5250.mk
index 213f02c..953b395 100644
--- a/package/tn5250/tn5250.mk
+++ b/package/tn5250/tn5250.mk
@@ -12,6 +12,7 @@ TN5250_LICENSE = LGPLv2.1+
 TN5250_LICENSE_FILES = COPYING
 
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
+TN5250_CONF_ENV += LIBS="-lssl -lcrypto -lz"
 TN5250_CONF_OPTS += --with-ssl-dir=$(STAGING_DIR)/usr
 TN5250_DEPENDENCIES += openssl
 else
-- 
1.7.1

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

end of thread, other threads:[~2015-08-26 21:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-26  8:59 [Buildroot] [PATCH] package/tn5250: fix static linking problem Vicente Olivert Riera
2015-08-26  9:08 ` Baruch Siach
2015-08-26  9:09   ` Vicente Olivert Riera
2015-08-26 10:32     ` Baruch Siach
2015-08-26 11:04       ` Vicente Olivert Riera
2015-08-26 11:12         ` Baruch Siach
2015-08-26 11:29           ` Vicente Olivert Riera
2015-08-26 11:32             ` Vicente Olivert Riera
2015-08-26 11:39             ` Baruch Siach
2015-08-26 21:26         ` Peter Korsgaard

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