diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2022-06-25 17:55:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-25 17:55:26 +0200 |
| commit | 0078d36ff39f2ef35e32f2d58e5d447b62f3a37e (patch) | |
| tree | 37793e2032189f83915a829dac0bd425264b488e /src/link.zig | |
| parent | 905a18849f7f2c3f269fbf425170e0c86b12524a (diff) | |
| parent | 8f00bc9d231c0c686b2ffa3bd0b14181afa7a171 (diff) | |
| download | zig-0078d36ff39f2ef35e32f2d58e5d447b62f3a37e.tar.gz zig-0078d36ff39f2ef35e32f2d58e5d447b62f3a37e.zip | |
Merge pull request #11917 from motiejus/wl-search-paths
macho: implement `-search_paths_first` and `-search_dylibs_first`
Diffstat (limited to 'src/link.zig')
| -rw-r--r-- | src/link.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/link.zig b/src/link.zig index c78fb8c2c5..cfcb112e9b 100644 --- a/src/link.zig +++ b/src/link.zig @@ -190,6 +190,9 @@ pub const Options = struct { /// (Darwin) size of the __PAGEZERO segment pagezero_size: ?u64 = null, + /// (Darwin) search strategy for system libraries + search_strategy: ?File.MachO.SearchStrategy = null, + pub fn effectiveOutputMode(options: Options) std.builtin.OutputMode { return if (options.use_lld) .Obj else options.output_mode; } |
