2021-03-02 13:40:08 +00:00
|
|
|
From 4dbe9c671f4f15f5fb6bf80428505690e15b7c83 Mon Sep 17 00:00:00 2001
|
2020-01-31 23:34:37 +00:00
|
|
|
From: Tom Stellard <tstellar@redhat.com>
|
|
|
|
Date: Fri, 31 Jan 2020 11:04:57 -0800
|
2021-03-02 13:40:08 +00:00
|
|
|
Subject: [PATCH 4/6] [PATCH][clang] Don't install static libraries
|
2020-01-31 23:34:37 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
clang/cmake/modules/AddClang.cmake | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/clang/cmake/modules/AddClang.cmake b/clang/cmake/modules/AddClang.cmake
|
2021-03-02 13:40:08 +00:00
|
|
|
index 704278a..1737b24 100644
|
2020-01-31 23:34:37 +00:00
|
|
|
--- a/clang/cmake/modules/AddClang.cmake
|
|
|
|
+++ b/clang/cmake/modules/AddClang.cmake
|
2020-02-27 01:47:44 +00:00
|
|
|
@@ -111,7 +111,7 @@ macro(add_clang_library name)
|
|
|
|
if(TARGET ${lib})
|
|
|
|
target_link_libraries(${lib} INTERFACE ${LLVM_COMMON_LIBS})
|
2020-01-31 23:34:37 +00:00
|
|
|
|
2020-02-27 01:47:44 +00:00
|
|
|
- if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY OR ARG_INSTALL_WITH_TOOLCHAIN)
|
|
|
|
+ if (ARG_SHARED AND (NOT LLVM_INSTALL_TOOLCHAIN_ONLY OR ARG_INSTALL_WITH_TOOLCHAIN))
|
|
|
|
set(export_to_clangtargets)
|
|
|
|
if(${lib} IN_LIST LLVM_DISTRIBUTION_COMPONENTS OR
|
|
|
|
"clang-libraries" IN_LIST LLVM_DISTRIBUTION_COMPONENTS OR
|
2020-01-31 23:34:37 +00:00
|
|
|
--
|
2021-03-02 13:40:08 +00:00
|
|
|
1.8.3.1
|
2020-01-31 23:34:37 +00:00
|
|
|
|