mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
macho: fix linking of dylibs and frameworks
Previously, I have incorrectly assumed that with two-level namespace we only need to link in dylibs/frameworks that actually export symbols which are undefined in the linked image. Turns out, regardless of whether we link with two-level namespace (default on macOS) or a flat namespace (more common on other platforms), we always need to put the dylibs/frameworks as specified by the user from the linker line into the final linked image.
This commit is contained in:
parent
2ccd023c6a
commit
f2bf1390a2
5 changed files with 54 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue