specify -static-libgcc for mingw builds
Avoid external external dependencies on 32-bit windows builds.
This commit is contained in:
parent
148aebdbb1
commit
031f0aaa8f
@ -41,7 +41,8 @@ case $host_os in
|
|||||||
;;
|
;;
|
||||||
*mingw*)
|
*mingw*)
|
||||||
HOST_OS=win
|
HOST_OS=win
|
||||||
CFLAGS="$CFLAGS -D_GNU_SOURCE -D_POSIX -D_POSIX_SOURCE -D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -DOPENSSL_NO_SPEED -DNO_SYSLOG -D__USE_MINGW_ANSI_STDIO"
|
CFLAGS="$CFLAGS -D_GNU_SOURCE -D_POSIX -D_POSIX_SOURCE -D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -DOPENSSL_NO_SPEED -DNO_SYSLOG -D__USE_MINGW_ANSI_STDIO -static-libgcc"
|
||||||
|
LDFLAGS="$LDFLAGS -static-libgcc"
|
||||||
AC_SUBST([PLATFORM_LDADD], ['-lws2_32'])
|
AC_SUBST([PLATFORM_LDADD], ['-lws2_32'])
|
||||||
;;
|
;;
|
||||||
*solaris*)
|
*solaris*)
|
||||||
|
@ -8,6 +8,7 @@ DIST=libressl-$VERSION-windows
|
|||||||
|
|
||||||
rm -fr $DIST
|
rm -fr $DIST
|
||||||
mkdir -p $DIST
|
mkdir -p $DIST
|
||||||
|
autoreconf -i
|
||||||
|
|
||||||
for ARCH in X86 X64; do
|
for ARCH in X86 X64; do
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user