From: Steven Walters Date: Mon, 13 Sep 2010 22:47:33 +0000 (-0400) Subject: Add configure check for mingw64 prefixing X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=416461a5667436c39330cd79740ecef1f27b5bfe;p=x264.git Add configure check for mingw64 prefixing This compensates for the inconsistent prefixing seen in different versions of the compiler. --- 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