[vlc-commits] commit: libupnp depends on pthreads ( Rafaël Carré )
git at videolan.org
git at videolan.org
Sat Nov 6 11:24:27 CET 2010
vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Sat Nov 6 11:24:07 2010 +0100| [f0ecb0c5c223b34b834f3af4a48d9dd2b979d14d] | committer: Rafaël Carré
libupnp depends on pthreads
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f0ecb0c5c223b34b834f3af4a48d9dd2b979d14d
---
extras/contrib/src/contrib-src.mak | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/extras/contrib/src/contrib-src.mak b/extras/contrib/src/contrib-src.mak
index 7df2cc9..755512d 100644
--- a/extras/contrib/src/contrib-src.mak
+++ b/extras/contrib/src/contrib-src.mak
@@ -2417,7 +2417,11 @@ ifdef HAVE_WIN32
LIBUPNP_ECFLAGS=-DPTW32_STATIC_LIB
endif
+ifdef HAVE_WIN32
+.libupnp: libupnp .pthreads
+else
.libupnp: libupnp
+endif
(cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-samples --without-documentation --enable-static --disable-webserver CFLAGS="$(CFLAGS) -O3 -DUPNP_STATIC_LIB $(LIBUPNP_ECFLAGS)" && make && make install)
touch $@
More information about the vlc-commits
mailing list