Fix copying ORT dylib into wheel on macOS (#21931)

Fix #21223 on macOS

---------

Co-authored-by: Baiju Meswani <bmeswani@microsoft.com>
This commit is contained in:
Chester Liu 2024-09-03 11:08:25 +08:00 committed by GitHub
parent 257792225f
commit 5c74539ab7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"])