]> git.sesse.net Git - vlc/commitdiff
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 0e29a396b1b4e776f1c562ed0f52b0e58f6661a2..eca81c778660b3ac455b125ca141ebc1fd5b61c1 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)])