Uh oh!
There was an error while loading. Please reload this page.
Version-gate appending -syslibroot flag to lld - #7302
Conversation
This commit version-gates appending `-syslibroot` flag to lld. This is predicated upon the fact that for versions of macOS lower than 11, lld would fail to find and link against frameworks with this flag specified. Co-authored-by: Andrew Kelley <andrew@ziglang.org>
kubkon
commented
Dec 4, 2020
cc @mkeeter, if you could rebase onto this branch and lemme know if this fixes the linking issues for you, that'd be grand! |
andrewrk
commented
Dec 4, 2020
I'm going to optimistically merge this & close the issue, so that there will be a binary available for testing with these changes in a couple hours. Of course please do let us know if there is still a problem. |
mkeeter
commented
Dec 4, 2020
Thanks, I'll check out the auto-built binary this weekend (I haven't gone far enough down the rabbit hole to be building Zig from source on my own machine 😆) |
kubkon
commented
Dec 4, 2020
Oh no, you’re missing all the fun! |
mkeeter
commented
Dec 8, 2020
Confirmed that this now works on my machine! Strangely, upgrading did broke a post-build step which runs |
This commit version-gates appending
-syslibrootflag to lld. Thisis predicated upon the fact that for versions of macOS lower than
11, lld would fail to find and link against frameworks with this
flag specified.
Closes#6996
Co-authored-by: Andrew Kelley andrew@ziglang.org