From 7d1b7981658c335ccac3df5ef99efcad81393841 Mon Sep 17 00:00:00 2001 From: Wojtek Mach Date: Wed, 26 Apr 2023 10:26:54 +0200 Subject: [PATCH] Make .a files universal Ref #1883 --- elixirkit/otp_bootstrap/build_macos_universal.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/elixirkit/otp_bootstrap/build_macos_universal.sh b/elixirkit/otp_bootstrap/build_macos_universal.sh index dab4a8d67..50a164a51 100755 --- a/elixirkit/otp_bootstrap/build_macos_universal.sh +++ b/elixirkit/otp_bootstrap/build_macos_universal.sh @@ -33,6 +33,11 @@ else lipo $i $dir2/$i -create -output $i.universal mv $i.universal $i done + for i in `find . -name "*.a"`; do + echo lipo $otp_rel_dir/$i + lipo $i $dir2/$i -create -output $i.universal + mv $i.universal $i + done cd - fi