Skip to content

Commit a30ef38

Browse files
committed
[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 #89811
1 parent 1b21b97 commit a30ef38

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

clang/tools/clang-repl/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,7 @@ clang_target_link_libraries(clang-repl PRIVATE
6161
clangInterpreter
6262
)
6363

64-
# Support plugins.
65-
if(CLANG_PLUGIN_SUPPORT)
66-
export_executable_symbols_for_plugins(clang-repl)
67-
endif()
64+
export_executable_symbols_for_plugins(clang-repl)
6865

6966
# The clang-repl binary can get huge with static linking in debug mode.
7067
# Some 32-bit targets use PLT slots with limited branch range by default and we

0 commit comments

Comments
 (0)