[vlc-commits] contrib: upnp: enable, fix win32/64 build

Rafaël Carré git at videolan.org
Mon Nov 7 04:38:56 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Nov  6 22:38:40 2011 -0500| [9a06f7b9a2a07c6d94661bf0f376819ee6ad0ead] | committer: Rafaël Carré

contrib: upnp: enable, fix win32/64 build

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

 contrib/src/upnp/rules.mak |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/contrib/src/upnp/rules.mak b/contrib/src/upnp/rules.mak
index f2d4ee1..f42ec1a 100644
--- a/contrib/src/upnp/rules.mak
+++ b/contrib/src/upnp/rules.mak
@@ -2,6 +2,8 @@
 UPNP_VERSION := 1.6.13
 UPNP_URL := $(SF)/pupnp/libupnp-$(UPNP_VERSION).tar.bz2
 
+PKGS += upnp
+
 $(TARBALLS)/libupnp-$(UPNP_VERSION).tar.bz2:
 	$(call download,$(UPNP_URL))
 
@@ -22,6 +24,9 @@ endif
 	$(MOVE)
 
 .upnp: upnp
+ifdef HAVE_WIN32
+	$(RECONF)
+endif
 	cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) -O3 -DUPNP_STATIC_LIB $(LIBUPNP_ECFLAGS)" ./configure --disable-samples --without-documentation --disable-webserver $(HOSTCONF)
 	cd $< && $(MAKE) install
 	touch $@



More information about the vlc-commits mailing list