From 38c3c0e29ec91c0adac773379c08a52a558fd6ce Mon Sep 17 00:00:00 2001 From: John Newby Date: Thu, 8 Aug 2019 10:06:05 +0200 Subject: [PATCH] Fixed build issue on MacOS --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 0e1f03d..7856fab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,3 +17,9 @@ rustler = "0.20.0" [lib] crate-type = ["cdylib"] + +[target.x86_64-apple-darwin] +rustflags = [ + "-C", "link-arg=-undefined", + "-C", "link-arg=dynamic_lookup", +]