diff --git a/WebKitBrowser/CMakeLists.txt b/WebKitBrowser/CMakeLists.txt index 3c1eba085e..e6ff8f7a36 100644 --- a/WebKitBrowser/CMakeLists.txt +++ b/WebKitBrowser/CMakeLists.txt @@ -254,6 +254,8 @@ if(NOT WEBKIT_GLIB_API) target_sources(${PLUGIN_WEBKITBROWSER_IMPLEMENTATION} PRIVATE InjectedBundle/Utils.cpp) endif() +# This is a temporary solution. Normally we should leave this to the framework. +# Do not replicate for other plugins. target_link_options(${PLUGIN_WEBKITBROWSER_IMPLEMENTATION} PRIVATE "-Wl,-z,nodelete") target_link_libraries(${PLUGIN_WEBKITBROWSER_IMPLEMENTATION}