[vlc-commits] Contribs: find upnp with pkg-config

Jean-Baptiste Kempf git at videolan.org
Fri Feb 28 18:43:08 CET 2020


vlc/vlc-3.0 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jan 26 00:19:46 2019 +0100| [41920b8071f73ed96db09a47946c780ab153b158] | committer: Konstantin Pavlov

Contribs: find upnp with pkg-config

(cherry picked from commit 170c863d5f7cdc9a90e337dbbe765599b1c6877b)
Signed-off-by: Konstantin Pavlov <thresh at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=41920b8071f73ed96db09a47946c780ab153b158
---

 contrib/src/upnp/rules.mak | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/contrib/src/upnp/rules.mak b/contrib/src/upnp/rules.mak
index 5a4d815872..e52f9f840a 100644
--- a/contrib/src/upnp/rules.mak
+++ b/contrib/src/upnp/rules.mak
@@ -5,6 +5,9 @@ UPNP_URL := $(SF)/pupnp/libupnp-$(UPNP_VERSION).tar.bz2
 ifdef BUILD_NETWORK
 PKGS += upnp
 endif
+ifeq ($(call need_pkg,"libupnp >= 1.6.18"),)
+PKGS_FOUND += upnp
+endif
 
 $(TARBALLS)/libupnp-$(UPNP_VERSION).tar.bz2:
 	$(call download_pkg,$(UPNP_URL),upnp)



More information about the vlc-commits mailing list