GP-0: fix for odd brew unpack issue

This commit is contained in:
d-millar
2023-07-17 18:15:22 -04:00
parent 76af93af47
commit 66bbf59c51

View File

@@ -43,6 +43,9 @@ LLVM_TEMP_DIR=$(mktemp -d)
# brew specific patches.
brew unpack --patch --destdir ${LLVM_TEMP_DIR} llvm@${LLVM_VERSION}
export LLVM_HOME="$(echo ${LLVM_TEMP_DIR}/llvm@${LLVM_VERSION}-*)"
if [ -z "${LLVM_HOME}" ]; then
export LLVM_HOME="$(echo ${LLVM_TEMP_DIR}/llvm-*)"
fi
# Set the appropriate build variables to link and compile the
# liblldb-java library below.