libupnpp: fix static linking issue with libcurl
authorPeter Korsgaard <peter@korsgaard.com>
Thu, 14 May 2015 20:44:06 +0000 (22:44 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 14 May 2015 20:44:06 +0000 (22:44 +0200)
commitf7638ca23229bc9dfe3696f562afc63bda6bd1f0
tree4207c4a66c2a906d35d2caa5955184c739f72073
parent7e624b3638420bb688f1f46a63cb78eb88430884
libupnpp: fix static linking issue with libcurl

Fixes:
http://autobuild.buildroot.net/results/f38/f383bf4d7572a7dd59d382cd06a9baeb37e9161c/
http://autobuild.buildroot.net/results/d93/d934871d1b192706cd9163715c5ebcd96deff2b8/

Libcurl optionally links to a number of libraries that have to be taken into
consideration when linking statically.

Use pkg-config to get the correct libcurl link line, and also use it for
libupnp instead of the hardcoded list.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libupnpp/libupnpp.mk