-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macho: fix logic for parsing dependent dylibs aka re-exports #18677
Conversation
Oh wow, this did not go as planned for some reason. Lemme re-push the actual changes rebased on master... |
a98d97b
to
d62e7bb
Compare
Hmm, I still seem to get this when trying to cross-compile glfw:
|
I haven't tested this on Nix though. Feel free to submit an issue to that effect. |
Fixes #17130
@slimsag @menduz I would appreciate if you double check this indeed fixes your issue. I did verify locally but want to make sure I didn't have to check out a specific version of
mach-glfw
project or something.@andrewrk a couple of comments regarding having lib and framework search dirs available in
Compilation
:I have added dumping those dirs whenEDIT: Turns out I forgot that we already do that for ELF linker. Still, my point stands.--verbose-link
is passed which I find invaluable for debugging any path-related linker issues. That said, I would like to discuss this with you if perhaps we could handle this in the frontend if possible; the point here being having the entire linker line invocation available for dumping when required.