Commit 74799527 authored by Alexandre Julliard's avatar Alexandre Julliard

configure: Disable stdcall fixups for PE builds.

parent 21e1018e
......@@ -8227,6 +8227,9 @@ fi
LIBEXT="dll"
DLLEXT=""
case $host_cpu in
*i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
esac
enable_iphlpapi=${enable_iphlpapi:-no}
enable_kernel32=${enable_kernel32:-no}
enable_ntdll=${enable_ntdll:-no}
......
......@@ -728,6 +728,10 @@ case $host_os in
AC_CHECK_TOOL(DLLTOOL,dlltool,false)
LIBEXT="dll"
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
enable_iphlpapi=${enable_iphlpapi:-no}
enable_kernel32=${enable_kernel32:-no}
......
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