Fix absolute path $CXX not working in mingw build script

This commit is contained in:
JosiahWI 2021-08-21 07:50:56 -05:00 committed by GitHub
parent da22e5d7c0
commit 4ba0f8d100
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,7 +3,7 @@
[[ -z "$CC" || -z "$CXX" ]] && exit 255 [[ -z "$CC" || -z "$CXX" ]] && exit 255
variant=win32 variant=win32
[[ "$CXX" == "x86_64-"* ]] && variant=win64 [[ "$(basename "$CXX")" == "x86_64-"* ]] && variant=win64
libjpeg_version=2.0.6 libjpeg_version=2.0.6
libpng_version=1.6.37 libpng_version=1.6.37