Fix rustflags setup for PyO3

This commit is contained in:
Dirkjan Ochtman 2021-11-10 09:27:19 +01:00
parent da5c38c730
commit b0c7dab6e5
1 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,10 @@
[build] [target.x86_64-apple-darwin]
rustflags = [
"-C", "link-arg=-undefined",
"-C", "link-arg=dynamic_lookup",
]
[target.aarch64-apple-darwin]
rustflags = [ rustflags = [
"-C", "link-arg=-undefined", "-C", "link-arg=-undefined",
"-C", "link-arg=dynamic_lookup", "-C", "link-arg=dynamic_lookup",