[PATCH] D152610: CMake: Fix map_components macro with LINK_LLVM_DYLIB
Julien Schueller via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 10 00:18:43 PDT 2023
jschueller created this revision.
Herald added a project: All.
jschueller requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Closes GH #34593
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D152610
Files:
llvm/cmake/modules/LLVM-Config.cmake
Index: llvm/cmake/modules/LLVM-Config.cmake
===================================================================
--- llvm/cmake/modules/LLVM-Config.cmake
+++ llvm/cmake/modules/LLVM-Config.cmake
@@ -229,6 +229,13 @@
endforeach()
endif()
+ # all symbols come from libLLVM library
+ # https://github.com/llvm/llvm-project/issues/34593
+ if(LLVM_LINK_LLVM_DYLIB)
+ set(${out_libs} LLVM PARENT_SCOPE)
+ return ()
+ endif ()
+
# Expand some keywords:
if(engine IN_LIST link_components)
if(${LLVM_NATIVE_ARCH} IN_LIST LLVM_TARGETS_TO_BUILD AND
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152610.530173.patch
Type: text/x-patch
Size: 568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230610/fd470b38/attachment.bin>
More information about the llvm-commits
mailing list