mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
build-system: correctly build OpenSSL on ARM Macs
The OpenSSL configure script requires us to pass in the correct build spec. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7dc3afba31
commit
e223cb3500
1 changed files with 2 additions and 1 deletions
|
@ -349,7 +349,8 @@ if [[ $PLATFORM = Darwin && "$BUILD_DEPS" == "1" ]] ; then
|
||||||
pushd openssl
|
pushd openssl
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
cd build
|
cd build
|
||||||
../Configure --prefix="$INSTALL_ROOT" --openssldir="$INSTALL_ROOT" "$OLDER_MAC" darwin64-x86_64-cc
|
if [ $(arch) == "arm64" ] ; then OS_ARCH=darwin64-arm64-cc ; else OS_ARCH=darwin64-x86_64-cc; fi
|
||||||
|
../Configure --prefix="$INSTALL_ROOT" --openssldir="$INSTALL_ROOT" "$OLDER_MAC" $OS_ARCH
|
||||||
make depend
|
make depend
|
||||||
# all the tests fail because the assume that openssl is already installed. Odd? Still thinks work
|
# all the tests fail because the assume that openssl is already installed. Odd? Still thinks work
|
||||||
make -j4 -k
|
make -j4 -k
|
||||||
|
|
Loading…
Reference in a new issue