From 4abb50ad9b7e298e458b0add9e7fda0be40b4574 Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Sat, 30 Jun 2018 23:54:35 -0400 Subject: [PATCH] Fix lipo regression in build script. --- lib/bin/build_lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bin/build_lib b/lib/bin/build_lib index 33d5d51e..ff2942a8 100755 --- a/lib/bin/build_lib +++ b/lib/bin/build_lib @@ -237,7 +237,7 @@ _finalize_merge() { 'macos'|'ios') for lib in "$prefix/$archs/lib/"*; do if lipo -info "$lib" >/dev/null 2>&1; then - local lib=("${lib##*/}") libs=("${archs/#/$prefix/}") libs=("${libs[@]/%//lib/$lib}") + local lib=("${lib##*/}") libs=("${archs[@]/#/$prefix/}") libs=("${libs[@]/%//lib/$lib}") lipo -create "${libs[@]}" -output "$prefix/out/lib/$lib" fi done