From 90c51a765a42e5db6ccf558695fc6abf54f7e1cd Mon Sep 17 00:00:00 2001 From: Steven Walters Date: Mon, 13 Sep 2010 18:47:33 -0400 Subject: [PATCH] Add configure check for mingw64 prefixing This compensates for the inconsistent prefixing seen in different versions of the compiler. --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 97405226..21f5166b 100755 --- a/configure +++ b/configure @@ -355,7 +355,8 @@ case $host_cpu in LDFLAGS="$LDFLAGS -arch x86_64" fi elif [ "$SYS" = MINGW ]; then - ASFLAGS="$ASFLAGS -f win32 -m amd64 -DPREFIX" + ASFLAGS="$ASFLAGS -f win32 -m amd64" + cc_check "" "-S" && grep -q "_main:" conftest && ASFLAGS="$ASFLAGS -DPREFIX" else ASFLAGS="$ASFLAGS -f elf -m amd64" fi -- 2.40.0