mirror of
https://github.com/ziglang/zig.git
synced 2024-11-29 00:22:33 +00:00
f2bf1390a2
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. |
||
---|---|---|
.. | ||
build.zig | ||
main.c |