Skip to content

Commit

Permalink
Write final universal binaries to thridparty folder
Browse files Browse the repository at this point in the history
  • Loading branch information
twaritwaikar committed Aug 8, 2022
1 parent e1b0f45 commit dcdd042
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build_openssl_universal_osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ cd openssl_x86_64
./Configure darwin64-x86_64-cc -mmacosx-version-min=10.13
make
cd ../
lipo -create openssl_arm64/libcrypto.a openssl_x86_64/libcrypto.a -output libcrypto.a
lipo -create openssl_arm64/libssl.a openssl_x86_64/libssl.a -output libssl.a
pwd
lipo -create openssl_arm64/libcrypto.a openssl_x86_64/libcrypto.a -output thirdparty/openssl/libcrypto.a
lipo -create openssl_arm64/libssl.a openssl_x86_64/libssl.a -output thirdparty/openssl/libssl.a
rm openssl-$OPENSSL_VERSION.tar.gz

0 comments on commit dcdd042

Please sign in to comment.