Skip to content

Commit

Permalink
Githubactions: Update make release script macos
Browse files Browse the repository at this point in the history
  • Loading branch information
aveenismail committed Sep 8, 2024
1 parent 012acf4 commit ec662a1
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion resources/release/macos/make_release_binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,19 @@ ARCH=$1 # amd or arm
VERSION=$2 # Full yubico-piv-tool version, tex 2.1.0
SO_VERSION=$3

BREW_LIB="/opt/homebrew/opt"
if [ "$ARCH" == "amd" ]; then
BREW_LIB="/usr/local/opt"
#BREW_CELLAR="/usr/local/Cellar"
elif [ "$ARCH" == "arm" ]; then
BREW_LIB="/opt/homebrew/opt"
#BREW_CELLAR="/opt/homebrew/Cellar"
else
echo "Unknown architecture"
exit
fi

echo "BREW_LIB: $BREW_LIB"
ls $BREW_LIB

export PKG_CONFIG_PATH=$BREW_LIB/openssl/lib/pkgconfig

Expand Down

0 comments on commit ec662a1

Please sign in to comment.