Changeset 198972 in webkit


Ignore:
Timestamp:
Apr 2, 2016 9:34:03 AM (8 years ago)
Author:
mitz@apple.com
Message:

jsc binary embedded in relocatable JavaScriptCore.framework links against system JavaScriptCore.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.
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r198953 r198972  
     12016-04-02  Dan Bernstein  <mitz@apple.com>
     2
     3        jsc binary embedded in relocatable JavaScriptCore.framework links against system JavaScriptCore.framework
     4        https://bugs.webkit.org/show_bug.cgi?id=156134
     5        <rdar://problem/25443824>
     6
     7        Reviewed by Mark Lam.
     8
     9        * Configurations/JSC.xcconfig: Define WK_RELOCATABLE_FRAMEWORKS_LDFLAGS when building
     10          relocatable frameworks to include a -dyld_env option setting DYLD_FRAMEWORK_PATH to point
     11          to the directory containing JavaScript.framework, and add
     12          WK_RELOCATABLE_FRAMEWORKS_LDFLAGS to OTHER_LDFLAGS.
     13
    1142016-04-01  Benjamin Poulain  <bpoulain@apple.com>
    215
  • trunk/Source/JavaScriptCore/Configurations/JSC.xcconfig

    r194821 r198972  
    2626
    2727INSTALL_PATH = $(JAVASCRIPTCORE_FRAMEWORKS_DIR)/$(JAVASCRIPTCORE_RESOURCES_DIR);
     28
     29OTHER_LDFLAGS = $(inherited) $(WK_RELOCATABLE_FRAMEWORKS_LDFLAGS);
     30WK_RELOCATABLE_FRAMEWORKS_LDFLAGS = $(WK_RELOCATABLE_FRAMEWORKS_LDFLAGS_$(WK_RELOCATABLE_FRAMEWORKS));
     31WK_RELOCATABLE_FRAMEWORKS_LDFLAGS_YES = -Wl,-dyld_env,DYLD_FRAMEWORK_PATH=@executable_path/../../../..;
     32
    2833PRODUCT_NAME = jsc;
    2934CODE_SIGN_ENTITLEMENTS[sdk=iphoneos*] = entitlements.plist;
Note: See TracChangeset for help on using the changeset viewer.