-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
creating dynamic libraries targeting macosx results in unusable .dylib files #1982
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
Comments
Just got bit by this with 0.6.0. Linking up the related thread on the LLVM mailing list: https://lists.llvm.org/pipermail/llvm-dev/2017-May/112950.html |
@kubkon did you happen to fix this already? |
When I originally filed this issue, the major blocker was the linker. Now that issue is solved but there are still other issues, likely easier to solve than creating a linker from scratch 🙂 I updated the original post above with the behavior that I observed today. |
Regarding the second problem, of the loader not being able to find the linked dylib: you need to explicitly specify the
I'm investigating the other two now: the |
@andrewrk After fixes provided in #10226:
|
aarch64-macos.12.0.1
0.9.0-dev.1759+c9352ef9d
That's the first problem. But let's work around it by adjusting the zig code:
Related issue regarding static libraries: #1981
The text was updated successfully, but these errors were encountered: