[vlc-commits] upnp: Provide winrt specific arguments to configure
Hugo Beauzée-Luyssen
git at videolan.org
Tue May 10 13:56:33 CEST 2016
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue May 10 13:32:32 2016 +0200| [e29343db7852f91e377915a0c8205a5efa03680d] | committer: Hugo Beauzée-Luyssen
upnp: Provide winrt specific arguments to configure
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e29343db7852f91e377915a0c8205a5efa03680d
---
contrib/src/upnp/rules.mak | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/contrib/src/upnp/rules.mak b/contrib/src/upnp/rules.mak
index dc2d73d..d4c8de1 100644
--- a/contrib/src/upnp/rules.mak
+++ b/contrib/src/upnp/rules.mak
@@ -15,6 +15,11 @@ ifdef HAVE_WIN32
DEPS_upnp += pthreads $(DEPS_pthreads)
LIBUPNP_ECFLAGS = -DPTW32_STATIC_LIB
endif
+ifdef HAVE_WINRT
+ CONFIGURE_ARGS=--disable-ipv6 --enable-unspecified_server
+else
+ CONFIGURE_ARGS=--enable-ipv6
+endif
upnp: libupnp-$(UPNP_VERSION).tar.bz2 .sum-upnp
$(UNPACK)
@@ -36,6 +41,6 @@ endif
ifdef HAVE_WIN32
$(RECONF)
endif
- cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) -DUPNP_STATIC_LIB $(LIBUPNP_ECFLAGS)" ./configure --disable-samples --without-documentation --enable-ipv6 $(HOSTCONF)
+ cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) -DUPNP_STATIC_LIB $(LIBUPNP_ECFLAGS)" ./configure --disable-samples --without-documentation $(CONFIGURE_ARGS) $(HOSTCONF)
cd $< && $(MAKE) install
touch $@
More information about the vlc-commits
mailing list