From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] tn5250: fix static build with openssl
Date: Wed, 26 Aug 2015 12:07:47 +0100 [thread overview]
Message-ID: <55DD9E03.6060200@imgtec.com> (raw)
In-Reply-To: <88bb0424ee487e10af488dafdb30914439569076.1440584935.git.baruch@tkos.co.il>
Dear Baruch Siach,
On 08/26/2015 11:28 AM, Baruch Siach wrote:
> OpenSSL needs libz. Use pkg-config to find dependencies.
>
> Fixes:
> http://autobuild.buildroot.net/results/95f/95f6df0d01e4944ecd84e830e2bbd8389e1d3e3d/
> http://autobuild.buildroot.net/results/432/432b1fdec1e6282d51ba1d859c0f4ab9ed2a5efc/
> http://autobuild.buildroot.net/results/d6a/d6a7125c21b4f92b69bb9e30b05c4727eedb63ba/
>
> and more.
>
> Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> package/tn5250/tn5250.mk | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/package/tn5250/tn5250.mk b/package/tn5250/tn5250.mk
> index 213f02cb68e8..180f9225598b 100644
> --- a/package/tn5250/tn5250.mk
> +++ b/package/tn5250/tn5250.mk
> @@ -13,7 +13,8 @@ TN5250_LICENSE_FILES = COPYING
>
> ifeq ($(BR2_PACKAGE_OPENSSL),y)
> TN5250_CONF_OPTS += --with-ssl-dir=$(STAGING_DIR)/usr
> -TN5250_DEPENDENCIES += openssl
> +TN5250_CONF_ENV = LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs libssl libcrypto`"
> +TN5250_DEPENDENCIES += openssl host-pkgconf
> else
> TN5250_CONF_OPTS += --without-ssl
> endif
>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Build test for MIPS architecture was successful.
Regards,
Vincent.
prev parent reply other threads:[~2015-08-26 11:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-26 10:28 [Buildroot] [PATCH] tn5250: fix static build with openssl Baruch Siach
2015-08-26 11:07 ` Vicente Olivert Riera [this message]
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=55DD9E03.6060200@imgtec.com \
--to=vincent.riera@imgtec.com \
--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