mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
25 lines
534 B
Diff
25 lines
534 B
Diff
diff --git a/tools/cling/tools/driver/CMakeLists.txt b/tools/cling/tools/driver/CMakeLists.txt
|
|
--- a/tools/cling/tools/driver/CMakeLists.txt
|
|
+++ b/tools/cling/tools/driver/CMakeLists.txt
|
|
@@ -9,10 +9,10 @@
|
|
# Keep symbols for JIT resolution
|
|
set(LLVM_NO_DEAD_STRIP 1)
|
|
|
|
+set(LLVM_LINK_COMPONENTS support)
|
|
+
|
|
if(BUILD_SHARED_LIBS)
|
|
set(LIBS
|
|
- LLVMSupport
|
|
-
|
|
clangFrontendTool
|
|
|
|
clingInterpreter
|
|
@@ -25,8 +25,6 @@ if(BUILD_SHARED_LIBS)
|
|
)
|
|
else()
|
|
set(LIBS
|
|
- LLVMSupport
|
|
-
|
|
clangASTMatchers
|
|
clangFrontendTool
|