zig icon indicating copy to clipboard operation
zig copied to clipboard

MachO: fix dynamic lookup of undefined symbols at runtime

Open mlafeldt opened this issue 1 month ago • 0 comments

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.

mlafeldt avatar Nov 25 '25 09:11 mlafeldt