[vlc-devel] commit: Try to fix asademux compile on Win32. (Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Jul 9 22:59:50 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at altair.videolan.org> | Wed Jul  9 22:57:24 2008 +0200| [95c51011d5b6c8dbe2f22afc781822dda55ff92e]

Try to fix asademux compile on Win32.

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

 configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 0e29a39..eca81c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3769,6 +3769,9 @@ AS_IF( [test "${enable_asademux}" = "yes"], [
       [
         VLC_ADD_LDFLAGS([asademux],[$PCRE_LIBS])
         VLC_ADD_CFLAGS([asademux],[$PCRE_CFLAGS])
+	if test "${SYS}" = "mingw32"; then
+	        VLC_ADD_CPPFLAGS([asademux],[-DPCRE_STATIC])
+        fi
         VLC_ADD_PLUGIN([asademux])
       ],[
         AC_MSG_WARN([PCRE library not found (required for asademux)])




More information about the vlc-devel mailing list