From 0df7ed79d304afc7d379482005e892979d4a5e4d Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Fri, 24 Jun 2022 20:25:16 +0200 Subject: macho: implement -search_dylibs_first linker option --- src/link.zig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/link.zig') 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; } -- cgit v1.2.3