build: add libcrypt32 dep for new mingw. Also ensure that libgcc/libstdc++ are static-linked regardless of the toolchain config
This commit is contained in:
parent
d14b86730b
commit
c589f5f2bd
@ -177,6 +177,10 @@ case $host in
|
|||||||
AC_CHECK_LIB([mswsock], [main],, AC_MSG_ERROR(lib missing))
|
AC_CHECK_LIB([mswsock], [main],, AC_MSG_ERROR(lib missing))
|
||||||
AC_CHECK_LIB([shlwapi], [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([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)
|
AC_PATH_PROG([MAKENSIS], [makensis], none)
|
||||||
if test x$MAKENSIS = xnone; then
|
if test x$MAKENSIS = xnone; then
|
||||||
|
Loading…
Reference in New Issue
Block a user