]> git.sesse.net Git - vlc/blobdiff - configure.ac
Try to fix asademux compile on Win32.
[vlc] / 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)])