Title: [198972] trunk/Source/_javascript_Core
Revision
198972
Author
[email protected]
Date
2016-04-02 09:34:03 -0700 (Sat, 02 Apr 2016)

Log Message

jsc binary embedded in relocatable _javascript_Core.framework links against system _javascript_Core.framework
https://bugs.webkit.org/show_bug.cgi?id=156134
<rdar://problem/25443824>

Reviewed by Mark Lam.

* Configurations/JSC.xcconfig: Define WK_RELOCATABLE_FRAMEWORKS_LDFLAGS when building
  relocatable frameworks to include a -dyld_env option setting DYLD_FRAMEWORK_PATH to point
  to the directory containing _javascript_.framework, and add
  WK_RELOCATABLE_FRAMEWORKS_LDFLAGS to OTHER_LDFLAGS.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (198971 => 198972)


--- trunk/Source/_javascript_Core/ChangeLog	2016-04-02 08:59:19 UTC (rev 198971)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-04-02 16:34:03 UTC (rev 198972)
@@ -1,3 +1,16 @@
+2016-04-02  Dan Bernstein  <[email protected]>
+
+        jsc binary embedded in relocatable _javascript_Core.framework links against system _javascript_Core.framework
+        https://bugs.webkit.org/show_bug.cgi?id=156134
+        <rdar://problem/25443824>
+
+        Reviewed by Mark Lam.
+
+        * Configurations/JSC.xcconfig: Define WK_RELOCATABLE_FRAMEWORKS_LDFLAGS when building
+          relocatable frameworks to include a -dyld_env option setting DYLD_FRAMEWORK_PATH to point
+          to the directory containing _javascript_.framework, and add
+          WK_RELOCATABLE_FRAMEWORKS_LDFLAGS to OTHER_LDFLAGS.
+
 2016-04-01  Benjamin Poulain  <[email protected]>
 
         [JSC][x86] Add the 3 operands form of floating point substraction

Modified: trunk/Source/_javascript_Core/Configurations/JSC.xcconfig (198971 => 198972)


--- trunk/Source/_javascript_Core/Configurations/JSC.xcconfig	2016-04-02 08:59:19 UTC (rev 198971)
+++ trunk/Source/_javascript_Core/Configurations/JSC.xcconfig	2016-04-02 16:34:03 UTC (rev 198972)
@@ -25,6 +25,11 @@
 #include "Version.xcconfig"
 
 INSTALL_PATH = $(_javascript_CORE_FRAMEWORKS_DIR)/$(_javascript_CORE_RESOURCES_DIR);
+
+OTHER_LDFLAGS = $(inherited) $(WK_RELOCATABLE_FRAMEWORKS_LDFLAGS);
+WK_RELOCATABLE_FRAMEWORKS_LDFLAGS = $(WK_RELOCATABLE_FRAMEWORKS_LDFLAGS_$(WK_RELOCATABLE_FRAMEWORKS));
+WK_RELOCATABLE_FRAMEWORKS_LDFLAGS_YES = -Wl,-dyld_env,DYLD_FRAMEWORK_PATH=@executable_path/../../../..;
+
 PRODUCT_NAME = jsc;
 CODE_SIGN_ENTITLEMENTS[sdk=iphoneos*] = entitlements.plist;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to