mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
There's not much to say about this; it's essentially just another way of
specifying link libraries. Framework directories are handled nearly
identically to library directories, and frameworks are resolved in
`link.resolveInputs` just like other link libraries. The new function
`link.resolveFrameworkInput` is responsible for trying to find the
framework's tbd or dylib file. As in 41d3b9a3e, if the framework
contains a file with no extension, we will attempt to figure out whether
it is a dylib, static archive, or tbd---this logic is quite similar to
how we handle GNU ld scripts.
2222 lines
72 KiB
2222 lines
72 KiB