[Buildroot] [git commit] libupnpp: fix static linking issue with libcurl
Peter Korsgaard
peter at korsgaard.com
Thu May 14 21:17:13 UTC 2015
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:
> 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 :-)
Yeah ;)
--
Venlig hilsen,
Peter Korsgaard
More information about the buildroot
mailing list