Fix building wheels for macOS (#2192)

This commit is contained in:
Fangjun Kuang
2025-05-08 19:15:33 +08:00
committed by GitHub
parent baec2da745
commit 562a5f7d9b
5 changed files with 22 additions and 15 deletions

View File

@@ -35,7 +35,7 @@ std::vector<char> ReadFile(AAssetManager *mgr, const std::string &filename) {
AAsset *asset = AAssetManager_open(mgr, filename.c_str(), AASSET_MODE_BUFFER);
if (!asset) {
__android_log_print(ANDROID_LOG_FATAL, "sherpa-onnx",
"Read binary file: Load %s failed", filename.c_str());
"Read binary file: Load '%s' failed", filename.c_str());
exit(-1);
}