diff --git a/lang/cling/files/patch-tools_plugins_example_CMakeLists.txt b/lang/cling/files/patch-tools_plugins_example_CMakeLists.txt new file mode 100644 index 000000000000..7b46ea0b608d --- /dev/null +++ b/lang/cling/files/patch-tools_plugins_example_CMakeLists.txt @@ -0,0 +1,10 @@ +--- tools/plugins/example/CMakeLists.txt.orig 2024-12-10 16:14:05 UTC ++++ tools/plugins/example/CMakeLists.txt +@@ -16,6 +16,6 @@ elseif(NOT MSVC) + if(APPLE) + target_link_libraries(clingDemoPlugin PUBLIC -Wl,-w -Wl,-bind_at_load -Wl,-undefined,dynamic_lookup) + elseif(NOT MSVC) +- target_link_libraries(clingDemoPlugin PUBLIC -Wl,--unresolved-symbols=ignore-in-object-files) ++ target_link_libraries(clingDemoPlugin PUBLIC -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--allow-shlib-undefined) + endif() +