From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [git commit] libupnpp: fix static linking issue with libcurl
Date: Thu, 14 May 2015 23:14:44 +0200 [thread overview]
Message-ID: <20150514231444.4ea9a128@free-electrons.com> (raw)
In-Reply-To: <20150514210426.753DC800DE@busybox.osuosl.org>
Dear Peter Korsgaard,
On Thu, 14 May 2015 22:44:06 +0200, Peter Korsgaard wrote:
> # configure script fails to link against the dependencies of libupnp
> -# causing upnp detection to fail when statically linking
> +# and libcurl causing detection to fail when statically linking
> ifeq ($(BR2_STATIC_LIBS),y)
> -LIBUPNPP_CONF_ENV += LIBS='-lthreadutil -lixml -pthread'
> +LIBUPNPP_DEPENDENCIES += host-pkgconf
> +LIBUPNPP_CONF_ENV += \
> + LIBS='$(shell $(PKG_CONFIG_HOST_BINARY) --libs libupnp libcurl)'
> endif
I'm glad to see that we're moving away from a hardcoded LIBS value to
using pkg-config :-)
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2015-05-14 21:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-14 20:44 [Buildroot] [git commit] libupnpp: fix static linking issue with libcurl Peter Korsgaard
2015-05-14 21:14 ` Thomas Petazzoni [this message]
2015-05-14 21:17 ` 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=20150514231444.4ea9a128@free-electrons.com \
--to=thomas.petazzoni@free-electrons.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