Skip to content

Commit

Permalink
adds undefined-allowed for macosx
Browse files Browse the repository at this point in the history
  • Loading branch information
ityonemo committed Aug 5, 2024
1 parent 22b0f55 commit b490237
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/zig/templates/build.zig.eex
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ pub fn build(b: *std.Build) void {

lib.linkLibC();

lib.linker_allow_shlib_undefined = true;

lib.root_module.addImport("erl_nif", erl_nif);
lib.root_module.addImport("beam", beam);
lib.root_module.addImport("nif", nif);
Expand Down

0 comments on commit b490237

Please sign in to comment.