History

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

Christian Jullien committed 5 years ago

Commit ac8af471 parent e8bff291 file · +1 −1Browse files

Unified · Split

configure+1−1
@@ -57,7 +57,7 @@ case $targetos in · 56 unmodified lines
57 Darwin)57 Darwin)
58 confvars="$confvars OSX dll=no"58 confvars="$confvars OSX dll=no"
59 cc=`which cc`59 cc=`which cc`
60 cc=`readlink $cc`60 cc=`readlink $cc || echo clang`
61 tcc_usrinclude="`xcrun --show-sdk-path`/usr/include"61 tcc_usrinclude="`xcrun --show-sdk-path`/usr/include"
62 DLLSUF=".dylib"62 DLLSUF=".dylib"
63 ;;63 ;;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t