From 281c2629241c36975582ee12b80e15306692e5e4 Mon Sep 17 00:00:00 2001 From: laggykiller Date: Wed, 28 Feb 2024 14:46:55 +0800 Subject: [PATCH] Fix universal2 build --- scripts/get_deps.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/get_deps.py b/scripts/get_deps.py index 3e92d5a..560462d 100755 --- a/scripts/get_deps.py +++ b/scripts/get_deps.py @@ -122,9 +122,10 @@ def main(): lipo_dir_merge_dst = conan_output_x64 else: raise RuntimeError("Invalid arch: " + arch) - - lipo_dir_merge_result = lipo_dir_merge_src.replace("armv8", "universal2") + + lipo_dir_merge_result = conan_output_arm.replace("armv8", "universal2") shutil.rmtree(lipo_dir_merge_result, ignore_errors=True) + subprocess.run( [ "python3",