Title: [250638] trunk/Source/WebKit
Revision
250638
Author
[email protected]
Date
2019-10-02 16:41:28 -0700 (Wed, 02 Oct 2019)

Log Message

[CMake] Don't link WebKit.framework with SecItemShim
​https://bugs.webkit.org/show_bug.cgi?id=202490

* PlatformMac.cmake:
Otherwise everything that uses the Security framework crashes immediately.
We only need it in the NetworkProcess.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (250637 => 250638)


--- trunk/Source/WebKit/ChangeLog	2019-10-02 23:30:15 UTC (rev 250637)
+++ trunk/Source/WebKit/ChangeLog	2019-10-02 23:41:28 UTC (rev 250638)
@@ -1,5 +1,14 @@
 2019-10-02  Alex Christensen  <[email protected]>
 
+        [CMake] Don't link WebKit.framework with SecItemShim
+        ​https://bugs.webkit.org/show_bug.cgi?id=202490
+
+        * PlatformMac.cmake:
+        Otherwise everything that uses the Security framework crashes immediately.
+        We only need it in the NetworkProcess.
+
+2019-10-02  Alex Christensen  <[email protected]>
+
         CMake-built WebKit.framework should launch XPC services successfully
         https://bugs.webkit.org/show_bug.cgi?id=202490
 

Modified: trunk/Source/WebKit/PlatformMac.cmake (250637 => 250638)


--- trunk/Source/WebKit/PlatformMac.cmake	2019-10-02 23:30:15 UTC (rev 250637)
+++ trunk/Source/WebKit/PlatformMac.cmake	2019-10-02 23:41:28 UTC (rev 250638)
@@ -14,7 +14,6 @@
 set(MACOSX_FRAMEWORK_IDENTIFIER com.apple.WebKit)
 
 list(APPEND WebKit_LIBRARIES
-    SecItemShim
     WebKitLegacy
     ${APPLICATIONSERVICES_LIBRARY}
     ${SECURITYINTERFACE_LIBRARY}
@@ -116,6 +115,10 @@
     ${XPCService_SOURCES}
 )
 
+list(APPEND NetworkProcess_LIBRARIES
+    SecItemShim
+)
+
 # FIXME: These should not have Development in production builds.
 set(WebKit_WebProcess_OUTPUT_NAME com.apple.WebKit.WebContent.Development)
 set(WebKit_NetworkProcess_OUTPUT_NAME com.apple.WebKit.Networking.Development)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to