--- webkitgtk-2.42.1/Source/WebKit/PlatformGTK.cmake 2023-09-19 10:27:50.335682200 +0200 +++ webkitgtk-2.42.1/Source/WebKit/PlatformGTK.cmake.new 2023-11-02 18:28:52.465046170 +0100 @@ -34,14 +34,14 @@ ) endif () -add_definitions(-DPKGLIBEXECDIR="${LIBEXEC_INSTALL_DIR}") +add_definitions(-DPKGLIBEXECDIR="${LIBEXEC_INSTALL_DIR}/webkit2gtk-${WEBKITGTK_API_VERSION}") add_definitions(-DLOCALEDIR="${CMAKE_INSTALL_FULL_LOCALEDIR}") add_definitions(-DDATADIR="${CMAKE_INSTALL_FULL_DATADIR}") add_definitions(-DLIBDIR="${LIB_INSTALL_DIR}") add_definitions(-DPKGLIBDIR="${LIB_INSTALL_DIR}/webkit${WEBKITGTK_API_INFIX}gtk-${WEBKITGTK_API_VERSION}") if (NOT DEVELOPER_MODE AND NOT CMAKE_SYSTEM_NAME MATCHES "Darwin") - WEBKIT_ADD_TARGET_PROPERTIES(WebKit LINK_FLAGS "-Wl,--version-script,${CMAKE_CURRENT_SOURCE_DIR}/webkitglib-symbols.map") + WEBKIT_ADD_TARGET_PROPERTIES(WebKit LINK_FLAGS "-Wl,-M,${CMAKE_CURRENT_SOURCE_DIR}/webkitglib-symbols.map") endif () set(WebKit_USE_PREFIX_HEADER ON)