| author | |
| committer | |
| log | b0bfde917b31fbf41775d5fd8e8bc2e7e98bbf4b |
| tree | fed6460d7ab05db8f8b211b3c73889c0c2498f9b |
| parent | a70cbe779adb11faeb88ceffad0cfa729d2eec6e |
`-undefined dynamic_lookup` was added in #13991. `-undefined error` is the
opposite, and can be used to revert an `-undefined dynamic_lookup` flag
specified previously on the command line.1 files changed, 2 insertions(+), 0 deletions(-)
src/main.zig+2| ... | ... | @@ -1703,6 +1703,8 @@ fn buildOutputType( |
| 1703 | 1703 | .undefined => { |
| 1704 | 1704 | if (mem.eql(u8, "dynamic_lookup", it.only_arg)) { |
| 1705 | 1705 | linker_allow_shlib_undefined = true; |
| 1706 | } else if (mem.eql(u8, "error", it.only_arg)) { | |
| 1707 | linker_allow_shlib_undefined = false; | |
| 1706 | 1708 | } else { |
| 1707 | 1709 | fatal("unsupported -undefined option '{s}'", .{it.only_arg}); |
| 1708 | 1710 | } |