Skip to content

Commit 3ca7f5e

Browse files
committed
fix for MacOS linking failure
1 parent 8f74cd2 commit 3ca7f5e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

native/ortex/.cargo/config.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ rpath=true
88
rustflags = [
99
"-C", "link-arg=-undefined",
1010
"-C", "link-arg=dynamic_lookup",
11+
"-C", "link-arg=-fapple-link-rtlib",
1112
"-C", "link-args=-Wl,-rpath,@loader_path",
1213
]
1314
[target.x86_64-unknown-linux-gnu]
1415
rustflags = [ "-Clink-args=-Wl,-rpath,$ORIGIN" ]
1516
[target.aarch64-unknown-linux-gnu]
16-
rustflags = [ "-Clink-args=-Wl,-rpath,$ORIGIN" ]
17+
rustflags = [ "-Clink-args=-Wl,-rpath,$ORIGIN" ]

0 commit comments

Comments
 (0)