diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2013-09-25 17:58:18 -0400 |
---|---|---|
committer | Warren Togami <wtogami@gmail.com> | 2013-09-25 17:15:57 -1000 |
commit | c589f5f2bdc18c76d16107e557757e0d9698e6b6 (patch) | |
tree | 08d4bb8344ef8c543488605f0ec5bef510cd22b5 /configure.ac | |
parent | d14b86730b22db92df3c1cec89bc43d20a12a898 (diff) |
build: add libcrypt32 dep for new mingw. Also ensure that libgcc/libstdc++ are static-linked regardless of the toolchain config
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 11357669dd..859cd0ad8a 100644 --- a/configure.ac +++ b/configure.ac @@ -177,6 +177,10 @@ case $host in AC_CHECK_LIB([mswsock], [main],, AC_MSG_ERROR(lib missing)) AC_CHECK_LIB([shlwapi], [main],, AC_MSG_ERROR(lib missing)) AC_CHECK_LIB([iphlpapi], [main],, AC_MSG_ERROR(lib missing)) + AC_CHECK_LIB([crypt32], [main],, AC_MSG_ERROR(lib missing)) + + AX_CHECK_LINK_FLAG([[-static-libgcc]],[LDFLAGS="$LDFLAGS -static-libgcc"]) + AX_CHECK_LINK_FLAG([[-static-libstdc++]],[LDFLAGS="$LDFLAGS -static-libstdc++"]) AC_PATH_PROG([MAKENSIS], [makensis], none) if test x$MAKENSIS = xnone; then |