--- 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()
 
