| ... | ... | @@ -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 | } |
| ... | ... | @@ -2071,6 +2073,8 @@ fn buildOutputType( |
| 2071 | 2073 | } |
| 2072 | 2074 | if (mem.eql(u8, "dynamic_lookup", linker_args.items[i])) { |
| 2073 | 2075 | linker_allow_shlib_undefined = true; |
| 2076 | } else if (mem.eql(u8, "error", linker_args.items[i])) { |
| 2077 | linker_allow_shlib_undefined = false; |
| 2074 | 2078 | } else { |
| 2075 | 2079 | fatal("unsupported -undefined option '{s}'", .{linker_args.items[i]}); |
| 2076 | 2080 | } |