[clang-repl] Always do export_executable_symbols_for_plugins(clang-repl)

It's needed to make clang-repl work in -DCLANG_PLUGIN_SUPPORT=OFF
configured builds (at least on mac). See discussion on
https://github.com/llvm/llvm-project/pull/89811
This commit is contained in:
Hans Wennborg
2024-06-10 18:37:08 +02:00
parent 1b21b9728e
commit a30ef38cd4

View File

@@ -61,10 +61,7 @@ clang_target_link_libraries(clang-repl PRIVATE
clangInterpreter
)
# Support plugins.
if(CLANG_PLUGIN_SUPPORT)
export_executable_symbols_for_plugins(clang-repl)
endif()
export_executable_symbols_for_plugins(clang-repl)
# The clang-repl binary can get huge with static linking in debug mode.
# Some 32-bit targets use PLT slots with limited branch range by default and we