From 5c74539ab70e953e952fd2e4a8cc29daaf3455d5 Mon Sep 17 00:00:00 2001 From: Chester Liu <4710575+skyline75489@users.noreply.github.com> Date: Tue, 3 Sep 2024 11:08:25 +0800 Subject: [PATCH] Fix copying ORT dylib into wheel on macOS (#21931) Fix #21223 on macOS --------- Co-authored-by: Baiju Meswani --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index aabe0d2233..ac8f465851 100644 --- a/setup.py +++ b/setup.py @@ -355,7 +355,7 @@ elif platform.system() == "Darwin": "onnxruntime_pybind11_state.so", "libdnnl.2.dylib", "mimalloc.so", - "libonnxruntime.dylib*", + "libonnxruntime*.dylib", ] # TODO add libmklml and libiomp5 later. # DNNL & TensorRT EPs are built as shared libs libs.extend(["libonnxruntime_providers_shared.dylib"])