1
0
mirror of https://github.com/mirror/tinycc.git synced 2025-04-13 13:10:50 +08:00

[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"
;;