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

Jean-Baptiste Kempf git at videolan.org
Sat Jan 26 00:36:17 CET 2019


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jan 26 00:19:46 2019 +0100| [170c863d5f7cdc9a90e337dbbe765599b1c6877b] | committer: Jean-Baptiste Kempf

Contribs: find upnp with pkg-config

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=170c863d5f7cdc9a90e337dbbe765599b1c6877b
---

 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 85df0b6ea3..869de8b0ba 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