forked from Mirrors/wine-wine
configure: Disable stdcall fixups for PE builds.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>stable
parent
21e1018ebd
commit
74799527b0
|
@ -8227,6 +8227,9 @@ fi
|
||||||
|
|
||||||
LIBEXT="dll"
|
LIBEXT="dll"
|
||||||
DLLEXT=""
|
DLLEXT=""
|
||||||
|
case $host_cpu in
|
||||||
|
*i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
|
||||||
|
esac
|
||||||
enable_iphlpapi=${enable_iphlpapi:-no}
|
enable_iphlpapi=${enable_iphlpapi:-no}
|
||||||
enable_kernel32=${enable_kernel32:-no}
|
enable_kernel32=${enable_kernel32:-no}
|
||||||
enable_ntdll=${enable_ntdll:-no}
|
enable_ntdll=${enable_ntdll:-no}
|
||||||
|
|
|
@ -728,6 +728,10 @@ case $host_os in
|
||||||
AC_CHECK_TOOL(DLLTOOL,dlltool,false)
|
AC_CHECK_TOOL(DLLTOOL,dlltool,false)
|
||||||
LIBEXT="dll"
|
LIBEXT="dll"
|
||||||
DLLEXT=""
|
DLLEXT=""
|
||||||
|
dnl Disable stdcall fixups to catch prototype mismatches
|
||||||
|
case $host_cpu in
|
||||||
|
*i[[3456]]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
|
||||||
|
esac
|
||||||
dnl Disable modules that can't be used on Windows
|
dnl Disable modules that can't be used on Windows
|
||||||
enable_iphlpapi=${enable_iphlpapi:-no}
|
enable_iphlpapi=${enable_iphlpapi:-no}
|
||||||
enable_kernel32=${enable_kernel32:-no}
|
enable_kernel32=${enable_kernel32:-no}
|
||||||
|
|
Loading…
Reference in New Issue