File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -222,18 +222,18 @@ if(MSVC)
222222endif ()
223223
224224if (APPLE )
225- target_link_libraries (Cling PUBLIC -Wl,-w -Wl,-bind_at_load)
225+ target_link_libraries (Cling PRIVATE -Wl,-w -Wl,-bind_at_load)
226226elseif (NOT MSVC )
227227 # Require the linker to resolve the symbol internally and prevent
228228 # conflicts when linked with another software using also LLVM like in
229229 # the problem reported for Julia in
230230 # https://github.com/JuliaHEP/ROOT.jl/issues/17#issuecomment-882719292
231231 # and by ALICE in https://github.com/root-project/root/issues/19889
232232 # Only needed for Linux: Mac uses linker namespaces and Windows explicit export/import
233- target_link_libraries (Cling PUBLIC -Wl,-Bsymbolic)
233+ target_link_libraries (Cling PRIVATE -Wl,-Bsymbolic)
234234endif ()
235235
236236if (CMAKE_SYSTEM_NAME MATCHES FreeBSD)
237- target_link_libraries (Cling PUBLIC util procstat)
237+ target_link_libraries (Cling PRIVATE util procstat)
238238endif ()
239239
You can’t perform that action at this time.
0 commit comments