[Buildroot] [git commit] libupnpp: fix static linking issue with libcurl
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu May 14 21:14:44 UTC 2015
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
More information about the buildroot
mailing list