summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build.sh22
1 files changed, 11 insertions, 11 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index 890db3b48..24e075f25 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -237,6 +237,17 @@ if [[ $PLATFORM = Darwin && "$BUILD_DEPS" == "1" ]] ; then
make install
popd
+ ./subsurface/scripts/get-dep-lib.sh single . openssl
+ pushd openssl
+ mkdir -p build
+ cd build
+ ../Configure --prefix=$INSTALL_ROOT --openssldir=$INSTALL_ROOT $OLDER_MAC darwin64-x86_64-cc
+ make depend
+ # all the tests fail because the assume that openssl is already installed. Odd? Still thinks work
+ make -j4 -k
+ make -k install
+ popd
+
./subsurface/scripts/get-dep-lib.sh single . libssh2
pushd libssh2
mkdir -p build
@@ -315,17 +326,6 @@ if [[ $PLATFORM = Darwin && "$BUILD_DEPS" == "1" ]] ; then
make -j4
make install
popd
-
- ./subsurface/scripts/get-dep-lib.sh single . openssl
- pushd openssl
- mkdir -p build
- cd build
- ../Configure --prefix=$INSTALL_ROOT --openssldir=$INSTALL_ROOT $OLDER_MAC darwin64-x86_64-cc
- make depend
- # all the tests fail because the assume that openssl is already installed. Odd? Still thinks work
- make -j4 -k
- make -k install
- popd
fi