Skip to content

Commit 07b664b

Browse files
committed
Merge remote-tracking branch 'origin/GP-0_d-millar_fix_for_half_of_5517'
into patch (NationalSecurityAgency#5517)
2 parents b712b18 + 66bbf59 commit 07b664b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Ghidra/Debug/Debugger-swig-lldb/macos_debugger_lldb_build_from_brew.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ LLVM_TEMP_DIR=$(mktemp -d)
4343
# brew specific patches.
4444
brew unpack --patch --destdir ${LLVM_TEMP_DIR} llvm@${LLVM_VERSION}
4545
export LLVM_HOME="$(echo ${LLVM_TEMP_DIR}/llvm@${LLVM_VERSION}-*)"
46+
if [ -z "${LLVM_HOME}" ]; then
47+
export LLVM_HOME="$(echo ${LLVM_TEMP_DIR}/llvm-*)"
48+
fi
4649

4750
# Set the appropriate build variables to link and compile the
4851
# liblldb-java library below.

0 commit comments

Comments
 (0)