Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6d81a49969e7a90f37fb4bff6981affea88856de
      
https://github.com/WebKit/WebKit/commit/6d81a49969e7a90f37fb4bff6981affea88856de
  Author: Carlos Alberto Lopez Perez <[email protected]>
  Date:   2026-01-09 (Fri, 09 Jan 2026)

  Changed paths:
    M Source/JavaScriptCore/shell/PlatformWPE.cmake
    M Tools/TestWebKitAPI/PlatformWPE.cmake

  Log Message:
  -----------
  REGRESSION(304666@main) [WPE] Build broken when DEVELOPER_MODE=OFF due to 
undefined symbols when linking jsc
https://bugs.webkit.org/show_bug.cgi?id=305186

Reviewed by Nikolas Zimmermann.

304666@main introduced an optimization in WPE to link the jsc binary and other 
test binaries against
libWPEWebKit instead of statically linking (embedding) WTF, JSC and other 
libraries inside.

However, it happens that when DEVELOPER_MODE is not enabled we pass a linker 
filter to libWPEWebKit that
makes many of the symbols (JSC::* WTF::*) required to link this binaries not 
longer visible, and that
causes errors when trying to link this binaries against the filtered 
libWPEWebKit.

This patch makes the changes done by 304666@main to only apply when 
DEVELOPER_MODE is enabled.

Co-authored-by: Pablo Saavedra <[email protected]>

* Source/JavaScriptCore/shell/PlatformWPE.cmake:
* Tools/TestWebKitAPI/PlatformWPE.cmake:

Canonical link: https://commits.webkit.org/305354@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to