Commit d66fad35 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

configure.ac: Statically link with the runtime on windows

parent b8ee29d6
......@@ -155,6 +155,7 @@ case "${host_os}" in
fi
;;
*mingw32* | *cygwin* | *wince* | *mingwce*)
CXXFLAGS="${CXXFLAGS} -static-libgcc -static-libstdc++"
AC_DEFINE([_UNICODE], [1], [Define to 1 for Unicode (Wide Chars) APIs.])
AC_DEFINE([UNICODE], [1], [Define to 1 for Unicode (Wide Chars) APIs.])
AC_DEFINE([_POSIX_C_SOURCE], [200809L], [IEEE Std 1003.1.])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment