]> git.sesse.net Git - vlc/blobdiff - m4/vlc.m4
configure: Set the proper werror variable when creating vlc-config.in
[vlc] / m4 / vlc.m4
index 8007aa29d5b0953db6497989da0cadd8e0b041de..fa6790caf45349ad4177bcb62363c9ec38d9a559 100644 (file)
--- a/m4/vlc.m4
+++ b/m4/vlc.m4
@@ -139,7 +139,7 @@ AC_DEFUN([VLC_OUTPUT_VLC_CONFIG_IN], [
       echo "      libs=\"\${libs} `eval echo '$'LIBS_${x}`\""
     fi
     if test "`eval echo @'$'CFLAGS_WERROR_${x}@`" != "@@"; then
-      echo "      CFLAGS_WERROR=\"`eval echo '$'CFLAGS_WERROR_${x}`\""
+      echo "      cflags_werror=\"`eval echo '$'CFLAGS_WERROR_${x}`\""
     fi
     echo "    ;;"
   ] done >> vlc-config.in