Explicitly disable linking against shared LLVM
This commit is contained in:
parent
4261b067ab
commit
c0e9de73bf
@ -417,7 +417,8 @@ macro(add_cling_library name)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
llvm_add_library(${name} ${ARG_ENABLE_SHARED} ${ARG_UNPARSED_ARGUMENTS} ${srcs})
|
||||
# Set DISABLE_LLVM_LINK_LLVM_DYLIB to disable linking against shared LLVM
|
||||
llvm_add_library(${name} ${ARG_ENABLE_SHARED} DISABLE_LLVM_LINK_LLVM_DYLIB ${ARG_UNPARSED_ARGUMENTS} ${srcs})
|
||||
|
||||
if (MSVC AND cling_ex_file_match)
|
||||
# /EHs because cling_runtime_internal_throwIfInvalidPointer is extern “C”
|
||||
|
Loading…
Reference in New Issue
Block a user