Try to fix asademux compile on Win32.
authorJean-Baptiste Kempf <jb@altair.videolan.org>
Wed, 9 Jul 2008 20:57:24 +0000 (22:57 +0200)
committerJean-Baptiste Kempf <jb@altair.videolan.org>
Wed, 9 Jul 2008 20:59:37 +0000 (22:59 +0200)
configure.ac

index 0e29a39..eca81c7 100644 (file)
@@ -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)])