Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4d7442eab4c018ab0182daa93f1b962d4f4908d5
      
https://github.com/WebKit/WebKit/commit/4d7442eab4c018ab0182daa93f1b962d4f4908d5
  Author: Pascoe <[email protected]>
  Date:   2026-07-08 (Wed, 08 Jul 2026)

  Changed paths:
    M Source/WebKit/PlatformMac.cmake

  Log Message:
  -----------
  [CMake] Weak-link the SDK usr/lib stub libraries WebKit.framework needs
https://bugs.webkit.org/show_bug.cgi?id=318721
rdar://181531016

Reviewed by Elliott Williams.

Xcode links libAccessibility, libnetworkextension and libbsm into
WebKit.framework via FRAMEWORK_AND_LIBRARY_LDFLAGS. libbsm supplies
audit_token_to_asid, referenced by WebPushD::PushClientConnection::create,
so without it WebKit.framework fails to link with an undefined symbol. Link
the three SDK usr/lib stubs with -weak_library (an unreferenced stub is
harmless), matching Xcode. WebKit links via swiftc, which rejects the bare
-weak_library flag, so pass it through -Xlinker.

* Source/WebKit/PlatformMac.cmake:

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



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

Reply via email to