Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/tn5250: fix static linking problem
Date: Wed, 26 Aug 2015 12:08:04 +0300	[thread overview]
Message-ID: <20150826090804.GG8919@tarshish> (raw)
In-Reply-To: <1440579591-23594-1-git-send-email-Vincent.Riera@imgtec.com>

Hi Vicente,

On Wed, Aug 26, 2015 at 09:59:51AM +0100, Vicente Olivert Riera wrote:
> 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"

Please use pkg-config. See package/vsftpd/vsftpd.mk for example.

>  TN5250_CONF_OPTS += --with-ssl-dir=$(STAGING_DIR)/usr
>  TN5250_DEPENDENCIES += openssl
>  else

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

  reply	other threads:[~2015-08-26  9:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-26  8:59 [Buildroot] [PATCH] package/tn5250: fix static linking problem Vicente Olivert Riera
2015-08-26  9:08 ` Baruch Siach [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150826090804.GG8919@tarshish \
    --to=baruch@tkos.co.il \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox