diff --git a/utils/build-llvm-local.sh b/utils/build-llvm-local.sh index 977f3084db..cec57b08cb 100755 --- a/utils/build-llvm-local.sh +++ b/utils/build-llvm-local.sh @@ -33,7 +33,7 @@ cmake ../llvm \ -GNinja \ -DCMAKE_C_COMPILER=clang \ -DCMAKE_CXX_COMPILER=clang++ \ - -DPython3_FIND_VIRTUALENV=FIRST \ + -DPython3_FIND_VIRTUALENV=ONLY \ -DLLVM_LINK_LLVM_DYLIB=ON \ -DCLANG_LINK_CLANG_DYLIB=ON \ -DLLVM_BUILD_EXAMPLES=OFF \