Skip to content

Commit 7fb1ac7

Browse files
committed
fixes for macos dylibs
1 parent cfc1b88 commit 7fb1ac7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

mix.exs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,17 @@ defmodule Ortex.MixProject do
7474
])
7575
)
7676

77+
{:unix, :darwin} ->
78+
Path.wildcard(
79+
Path.join([
80+
"./_build/",
81+
Mix.env() |> Atom.to_string(),
82+
"lib/ortex/native/ortex",
83+
rust_env,
84+
"libonnxruntime*.dylib*"
85+
])
86+
)
87+
7788
{:unix, _} ->
7889
Path.wildcard(
7990
Path.join([

0 commit comments

Comments
 (0)