macho: allow undefined symbols in dylibs

We now respect both `-fallow-shlib-undefined` and
`-Wl,"-undefined=dynamic_lookup"` flags. This is the first step
towards solving issues #8180 and #3000. We currently do not expose
any other ld64 equivalent flag for `-undefined` flag - we basically
throw an error should the user specify a different flag. Support for
those is conditional on closing #8180. As a result of this change,
it is now possible to generate a valid native Node.js addon with Zig
for macOS.
dbfcebf8d8Jakub Konka committed on 12/11/2021, 11:32:03 PMparentefdb944
2 files changedLine totals unavailable