Skip to content

Commit

Permalink
OpenSSL 1.1.1 is deprecated
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Metsma <raul@metsma.ee>
  • Loading branch information
metsma committed Dec 19, 2023
1 parent b0d0707 commit ae72a8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MacOSX/build-package.in
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ if test "$FORCE_OPENSSL_BUILD" == "1" || ! pkg-config libcrypto --atleast-versio
if ! test -e $BUILDPATH/openssl_bin/$PREFIX/lib/pkgconfig; then
# Build OpenSSL manually, because Apple's binaries are deprecated
if ! test -e openssl; then
git clone --depth=1 https://github.com/openssl/openssl.git -b OpenSSL_1_1_1-stable
git clone --depth=1 https://github.com/openssl/openssl.git -b openssl-3.0
fi
cd openssl
MACHINE=x86_64 ./config no-shared --prefix=$PREFIX
./Configure darwin64-x86_64 no-shared --prefix=$PREFIX enable-ec_nistp_64_gcc_128
make clean
make -j 4
make DESTDIR=$BUILDPATH/openssl_bin install_sw
if test -n "${BUILD_ARM}"; then
make clean
MACHINE=arm64 KERNEL_BITS=64 ./config no-shared --prefix=$PREFIX
./Configure darwin64-arm64 no-shared --prefix=$PREFIX enable-ec_nistp_64_gcc_128
make -j 4
make DESTDIR=$BUILDPATH/openssl_arm64 install_sw
lipo -create $BUILDPATH/openssl_arm64/$PREFIX/lib/libcrypto.a $BUILDPATH/openssl_bin/$PREFIX/lib/libcrypto.a -output libcrypto.a
Expand Down

0 comments on commit ae72a8c

Please sign in to comment.