Changeset 279925 in webkit
- Timestamp:
- Jul 14, 2021 3:12:05 PM (3 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r279924 r279925 1 2021-07-14 Alex Christensen <achristensen@webkit.org> 2 3 Link against Catalyst ANGLE-shared.dylib when linking Catalyst WebCore.framework 4 https://bugs.webkit.org/show_bug.cgi?id=227965 5 <rdar://76284889> 6 7 Reviewed by Tim Horton. 8 9 r274742 put the dylib into the correct location, but when linking WebCore we are still looking in the 10 location of the non-Catalyst dylib, which happens to have all the symbols we are looking for so linking succeeds. 11 At runtime, though, we realize we are opening the wrong dylib and bad things happen. 12 13 The solution is to look in the Catalyst WebCore framework directory when WK_USE_ALTERNATE_FRAMEWORKS_DIR is YES, 14 which is only in the Catalyst build. 15 16 * Configurations/WebCore.xcconfig: 17 1 18 2021-07-14 Mark Lam <mark.lam@apple.com> 2 19 -
trunk/Source/WebCore/Configurations/WebCore.xcconfig
r279282 r279925 42 42 43 43 WK_FRAMEWORKS_LIBRARY_DIR = $(WEBCORE_FRAMEWORKS_DIR)/WebCore.framework/Frameworks 44 WK_FRAMEWORKS_LIBRARY_DIR[sdk=macosx*] = $(WK_FRAMEWORKS_LIBRARY_DIR_USE_OVERRIDE_FRAMEWORKS_DIR_$(WK_USE_OVERRIDE_FRAMEWORKS_DIR)); 44 WK_FRAMEWORKS_LIBRARY_DIR[sdk=macosx*] = $(WK_FRAMEWORKS_LIBRARY_DIR_USE_ALTERNATE_FRAMEWORKS_DIR_$(WK_USE_ALTERNATE_FRAMEWORKS_DIR)) 45 WK_FRAMEWORKS_LIBRARY_DIR_USE_ALTERNATE_FRAMEWORKS_DIR_NO = $(WK_FRAMEWORKS_LIBRARY_DIR_USE_OVERRIDE_FRAMEWORKS_DIR_$(WK_USE_OVERRIDE_FRAMEWORKS_DIR)); 45 46 WK_FRAMEWORKS_LIBRARY_DIR_USE_OVERRIDE_FRAMEWORKS_DIR_NO = $(WEBCORE_FRAMEWORKS_DIR)/WebCore.framework/Versions/A/Frameworks; 46 47 WK_FRAMEWORKS_LIBRARY_DIR_USE_OVERRIDE_FRAMEWORKS_DIR_YES = $(WK_OVERRIDE_FRAMEWORKS_DIR); 48 WK_FRAMEWORKS_LIBRARY_DIR_USE_ALTERNATE_FRAMEWORKS_DIR_YES = $(WK_ALTERNATE_FRAMEWORKS_DIR)/$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks/WebCore.framework/Versions/A/Frameworks; 47 49 48 50 LIBRARY_SEARCH_PATHS = $(inherited) "$(WK_FRAMEWORKS_LIBRARY_DIR)";
Note: See TracChangeset
for help on using the changeset viewer.