diff --git a/configure.ac b/configure.ac index 959c141d9..2a15ca695 100644 --- a/configure.ac +++ b/configure.ac @@ -305,7 +305,7 @@ fi # -DYY_STATIC is required by flex WZ_CFLAGS="${WZ_CFLAGS} -DYY_STATIC -DDEFAULT_DATADIR=\\\"${datadir}/warzone2100\\\"" -CFLAGS="${WZ_CFLAGS} ${CFLAGS}" +CFLAGS="${CFLAGS} ${WZ_CFLAGS}" LIBS="${LIBS} ${WZ_LIBS} ${WIN32_LIBS}" AC_CONFIG_HEADER([lib/framework/config.h])