llvm.org GIT mirror llvm / 17bca14
[Analysis] Link library dependencies to Analysis plugins These are needed to avoid undefined symbols which aren't satisfied by Clang itself. Differential Revision: https://reviews.llvm.org/D62174 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361340 91177308-0d34-0410-b5e6-96231b3b80d8 Petr Hosek a month ago
1 changed file(s) with 7 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
913913
914914 # Plugin support
915915 # FIXME: Make this configurable.
916 if(BUILD_SHARED_LIBS OR LLVM_BUILD_LLVM_DYLIB)
916 if(WIN32 OR CYGWIN)
917 if(BUILD_SHARED_LIBS OR LLVM_BUILD_LLVM_DYLIB)
918 set(LLVM_ENABLE_PLUGINS ON)
919 else()
920 set(LLVM_ENABLE_PLUGINS OFF)
921 endif()
922 else()
917923 set(LLVM_ENABLE_PLUGINS ON)
918 else()
919 set(LLVM_ENABLE_PLUGINS OFF)
920924 endif()
921925
922926 # By default we should enable LLVM_ENABLE_IDE only for multi-configuration