[macOS]: arm64, correctly find clang which is not a symblink from cc

This commit is contained in:
Christian Jullien 2021-02-21 10:54:49 +01:00
parent e8bff295f9
commit ac8af47d7f

2
configure vendored
View file

@ -57,7 +57,7 @@ case $targetos in
Darwin)
confvars="$confvars OSX dll=no"
cc=`which cc`
cc=`readlink $cc`
cc=`readlink $cc || echo clang`
tcc_usrinclude="`xcrun --show-sdk-path`/usr/include"
DLLSUF=".dylib"
;;