Skip to content

Commit a08c4e0

Browse files
committed
build: fix openssl build
1 parent 83dbea8 commit a08c4e0

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

scripts/ci/build-openssl.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,19 +60,20 @@ if [ "$MACOS_UNIVERSAL_BUILD" == "true" ]; then
6060
no-shared "${@:2}"
6161

6262
make && make install_sw
63-
mv $build_folder/$lib_folder/libcrypto{,-$1}.a
64-
mv $build_folder/$lib_folder/libssl{,-$1}.a
63+
64+
mv $build_folder/lib/libcrypto{,-$1}.a
65+
mv $build_folder/lib/libssl{,-$1}.a
6566
}
6667

6768
build_arch x86_64 "${@:3}"
6869
make distclean || true;
6970
build_arch arm64 "${@:3}"
7071

71-
lipo -create -output $build_folder/$lib_folder/libcrypto.a \
72-
$build_folder/$lib_folder/libcrypto-{x86_64,arm64}.a
72+
lipo -create -output $build_folder/lib/libcrypto.a \
73+
$build_folder/lib/libcrypto-{x86_64,arm64}.a
7374

74-
lipo -create -output $build_folder/$lib_folder/libssl.a \
75-
$build_folder/$lib_folder/libssl-{x86_64,arm64}.a
75+
lipo -create -output $build_folder/lib/libssl.a \
76+
$build_folder/lib/libssl-{x86_64,arm64}.a
7677
else
7778
# Debug:
7879
#./config -fPIC --prefix=$build_folder --openssldir=$build_folder no-shared \

0 commit comments

Comments
 (0)