configure: fix NASM output format on Win64

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
James Almer 2014-06-19 02:25:51 -03:00 committed by Michael Niedermayer
parent 454c019cb5
commit 60a06400a9

7
configure vendored
View File

@ -4467,7 +4467,12 @@ EOF
elif check_cmd nasm -v; then
yasmexe=nasm
yasm_debug="-g -F dwarf"
enabled x86_64 && test "$objformat" = elf && objformat=elf64
if enabled x86_64; then
case "$objformat" in
elf) objformat=elf64 ;;
win32) objformat=win64 ;;
esac
fi
fi
YASMFLAGS="-f $objformat $yasm_extra"