mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
Change big_sur_path
I just updated to Big Sur, and that path didn't work for me... but this updated one does!
This commit is contained in:
parent
ea08a19045
commit
845145fc1f
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ fn link_macos(
|
|||
// This path only exists on macOS Big Sur, and it causes ld errors
|
||||
// on Catalina if it's specified with -L, so we replace it with a
|
||||
// redundant -lSystem if the directory isn't there.
|
||||
let big_sur_path = "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib";
|
||||
let big_sur_path = "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib";
|
||||
let big_sur_fix = if Path::new(big_sur_path).exists() {
|
||||
format!("-L{}", big_sur_path)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue