summaryrefslogtreecommitdiffstats
path: root/build/build-clang/static-llvm-symbolizer.patch
diff options
context:
space:
mode:
Diffstat (limited to 'build/build-clang/static-llvm-symbolizer.patch')
-rw-r--r--build/build-clang/static-llvm-symbolizer.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/build/build-clang/static-llvm-symbolizer.patch b/build/build-clang/static-llvm-symbolizer.patch
new file mode 100644
index 0000000000..ea8ebc322b
--- /dev/null
+++ b/build/build-clang/static-llvm-symbolizer.patch
@@ -0,0 +1,12 @@
+diff --git a/llvm/tools/llvm-symbolizer/CMakeLists.txt b/llvm/tools/llvm-symbolizer/CMakeLists.txt
+index 8185c296c50..13c7419fa47 100644
+--- a/llvm/tools/llvm-symbolizer/CMakeLists.txt
++++ b/llvm/tools/llvm-symbolizer/CMakeLists.txt
+@@ -13,6 +13,7 @@ set(LLVM_LINK_COMPONENTS
+ )
+
+ add_llvm_tool(llvm-symbolizer
++ DISABLE_LLVM_LINK_LLVM_DYLIB
+ llvm-symbolizer.cpp
+ )
+