From 4899bb9a09d3a2e76ec2af88677f7e1e2ef52542 Mon Sep 17 00:00:00 2001 From: Czarek Nakamoto Date: Mon, 27 May 2024 10:25:54 +0200 Subject: macos fixes --- external/macos/build_unbound.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'external/macos') diff --git a/external/macos/build_unbound.sh b/external/macos/build_unbound.sh index 24ed54f..e9e1ff8 100755 --- a/external/macos/build_unbound.sh +++ b/external/macos/build_unbound.sh @@ -3,13 +3,6 @@ set -x -e . config.sh -#### add m4 to path -# NOTE: this may not be needed. - -HOMEBREW_PREFIX="$(brew config | grep HOMEBREW_PREFIX | awk '{ print $2 }')" -M4_VERSION="$(brew info m4 | head -1 | awk '{ print $4 }')" -export PATH="${HOMEBREW_PREFIX}/Cellar/m4/${M4_VERSION}/bin/:$PATH" - #### expat EXPAT_VERSION=R_2_4_8 @@ -40,9 +33,10 @@ cd $UNBOUND_DIR_PATH test `git rev-parse HEAD` = ${UNBOUND_HASH} || exit 1 ./configure --prefix="${EXTERNAL_MACOS_DIR}" \ + --with-ssl="${HOMEBREW_PREFIX}" \ --with-libexpat="${EXTERNAL_MACOS_DIR}" \ --enable-static \ --disable-shared \ --disable-flto make -make install \ No newline at end of file +make install -- cgit v1.2.3