libupnpp: fix libupnp dependency
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 20 Jan 2019 09:47:50 +0000 (10:47 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 20 Jan 2019 19:14:09 +0000 (20:14 +0100)
Commit 9b551dacf74445d58aaefef349e2817e009c9d5d added support for
libupnp18 but without updating LIBUPNPP_DEPENDENCIES

Fixes:
 - http://autobuild.buildroot.org/results/aa734318b9ad318d25e772585c8794429cc0f489

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libupnpp/libupnpp.mk

index 69ce0768a9e3ad6c2e1c336864a0dd0b4cf0afcd..31a066a648693e7d044435956037cdc1d4f6ab0f 100644 (file)
@@ -9,7 +9,8 @@ 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 libupnp
+LIBUPNPP_DEPENDENCIES = expat libcurl \
+       $(if $(BR2_PACKAGE_LIBUPNP),libupnp,libupnp18)
 # We're patching configure.ac
 LIBUPNPP_AUTORECONF = YES