zig
zig copied to clipboard
MachO: fix dynamic lookup of undefined symbols at runtime
While writing DuckDB extensions in Zig, I noticed that linker_allow_shlib_undefined doesn't work as intended on macOS.
This PR ensures MH_NOUNDEFS is not set when dynamic lookup is enabled for undefined symbols.