aboutsummaryrefslogtreecommitdiff
path: root/src/stage1/codegen.cpp
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2021-08-09 22:44:57 +0200
committerJakub Konka <kubkon@jakubkonka.com>2021-08-10 08:13:07 +0200
commitf2bf1390a29a9decaa5ca49d3ae720b360583b35 (patch)
treef040031c1ee692eef0b5d1e52fda6cfcdf265bbe /src/stage1/codegen.cpp
parent2ccd023c6ae590b4ff311814ccf5ff508c7669ef (diff)
downloadzig-f2bf1390a29a9decaa5ca49d3ae720b360583b35.tar.gz
zig-f2bf1390a29a9decaa5ca49d3ae720b360583b35.zip
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.
Diffstat (limited to 'src/stage1/codegen.cpp')
0 files changed, 0 insertions, 0 deletions