From ac8af47d7f6f90b4232be9d38121cd303640f858 Mon Sep 17 00:00:00 2001 From: Christian Jullien Date: Sun, 21 Feb 2021 10:54:49 +0100 Subject: [PATCH] [macOS]: arm64, correctly find clang which is not a symblink from cc --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 1562d0fb..6aa85545 100755 --- a/configure +++ b/configure @@ -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" ;;