aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2020-02-16 15:52:04 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-02-19 00:37:05 +0100
commit40c83693cdb1261de2b65ffad642c8be18298071 (patch)
treefc5d88f33573ab695fbc7e6d84e785be45ac603d
parent22f07ab2b546f6dfdfc11a37e577b3f63e829c3a (diff)
downloadbuildroot-40c83693cdb1261de2b65ffad642c8be18298071.tar.gz
buildroot-40c83693cdb1261de2b65ffad642c8be18298071.tar.bz2
package/libupnpp: remove unneeded static workaround
libupnpp uses pkg-config since version 0.15.1 and https://opensourceprojects.eu/p/libupnpp/code/ci/3dc44417e868b9b4417cbc15f8173e0a2e142b17 so remove unneeded static workaround Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/libupnpp/libupnpp.mk10
1 files changed, 1 insertions, 9 deletions
diff --git a/package/libupnpp/libupnpp.mk b/package/libupnpp/libupnpp.mk
index 53dc9f6c36..c9c103d9b5 100644
--- a/package/libupnpp/libupnpp.mk
+++ b/package/libupnpp/libupnpp.mk
@@ -9,15 +9,7 @@ LIBUPNPP_SITE = http://www.lesbonscomptes.com/upmpdcli/downloads
LIBUPNPP_LICENSE = LGPL-2.1+
LIBUPNPP_LICENSE_FILES = COPYING
LIBUPNPP_INSTALL_STAGING = YES
-LIBUPNPP_DEPENDENCIES = expat libcurl \
+LIBUPNPP_DEPENDENCIES = host-pkgconf expat libcurl \
$(if $(BR2_PACKAGE_LIBUPNP),libupnp,libupnp18)
-# configure script fails to link against the dependencies of libupnp
-# and libcurl causing detection to fail when statically linking
-ifeq ($(BR2_STATIC_LIBS),y)
-LIBUPNPP_DEPENDENCIES += host-pkgconf
-LIBUPNPP_CONF_ENV += \
- LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs libupnp libcurl`"
-endif
-
$(eval $(autotools-package))