Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use non-versioned DYLD_FRAMEWORK/LIBRARY_PATH when building StagedFrameworks for Ventura and later. #8866

Merged
merged 1 commit into from Jan 23, 2023

Conversation

davidquesada
Copy link
Contributor

@davidquesada davidquesada commented Jan 20, 2023

4076d91

Use non-versioned DYLD_FRAMEWORK/LIBRARY_PATH when building StagedFrameworks for Ventura and later.
https://bugs.webkit.org/show_bug.cgi?id=250886
rdar://104435890

Reviewed by Elliott Williams.

When building into the StagedFramework install path for macOS Ventura or later, use the DYLD_LIBRARY_PATH
and DYLD_FRAMEWORK_PATH environment variables (and not the DYLD_VERSIONED* variants) to make the executables
load frameworks from the StagedFrameworks path. While here, rename OTHER_LDFLAGS_VERSIONED_FRAMEWORK_PATH to
OTHER_LDFLAGS_STAGED_FRAMEWORK_PATH to avoid a perceived connection to the to-be-phased-out-over-time
DYLD_VERSIONED_*_PATH environment variables.

* Source/WebKit/Configurations/BaseTarget.xcconfig:
* Source/WebKit/Configurations/BaseXPCService.xcconfig:
* Source/WebKit/Configurations/DebugRelease.xcconfig:
* Source/WebKit/Configurations/GPUService.xcconfig:
* Source/WebKit/Configurations/NetworkService.xcconfig:
* Source/WebKit/Configurations/WebContentService.xcconfig:

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

8430015

Misc iOS, tvOS & watchOS macOS Linux Windows
βœ… πŸ§ͺ style βœ… πŸ›  ios βœ… πŸ›  mac βœ… πŸ›  wpe
βœ… πŸ›  ios-sim βœ… πŸ›  mac-AS-debug βœ… πŸ›  gtk βœ… πŸ›  wincairo
βœ… πŸ§ͺ webkitperl βœ… πŸ§ͺ ios-wk2 βœ… πŸ§ͺ api-mac βœ… πŸ§ͺ gtk-wk2
βœ… πŸ§ͺ api-ios βœ… πŸ§ͺ mac-wk1 βœ… πŸ§ͺ api-gtk
βœ… πŸ›  tv βœ… πŸ§ͺ mac-wk2
βœ… πŸ›  tv-sim βœ… πŸ§ͺ mac-AS-debug-wk2
βœ… πŸ›  watch βœ… πŸ§ͺ mac-wk2-stress
βœ… πŸ›  πŸ§ͺ merge βœ… πŸ›  watch-sim

@davidquesada davidquesada added the merge-queue Applied to send a pull request to merge-queue label Jan 23, 2023
…meworks for Ventura and later.

https://bugs.webkit.org/show_bug.cgi?id=250886
rdar://104435890

Reviewed by Elliott Williams.

When building into the StagedFramework install path for macOS Ventura or later, use the DYLD_LIBRARY_PATH
and DYLD_FRAMEWORK_PATH environment variables (and not the DYLD_VERSIONED* variants) to make the executables
load frameworks from the StagedFrameworks path. While here, rename OTHER_LDFLAGS_VERSIONED_FRAMEWORK_PATH to
OTHER_LDFLAGS_STAGED_FRAMEWORK_PATH to avoid a perceived connection to the to-be-phased-out-over-time
DYLD_VERSIONED_*_PATH environment variables.

* Source/WebKit/Configurations/BaseTarget.xcconfig:
* Source/WebKit/Configurations/BaseXPCService.xcconfig:
* Source/WebKit/Configurations/DebugRelease.xcconfig:
* Source/WebKit/Configurations/GPUService.xcconfig:
* Source/WebKit/Configurations/NetworkService.xcconfig:
* Source/WebKit/Configurations/WebContentService.xcconfig:

Canonical link: https://commits.webkit.org/259217@main
@webkit-commit-queue webkit-commit-queue changed the title Use non-versioned DYLD_FRAMEWORK/LIBRARY_PATH when building StagedFra… Use non-versioned DYLD_FRAMEWORK/LIBRARY_PATH when building StagedFrameworks for Ventura and later. Jan 23, 2023
@webkit-commit-queue webkit-commit-queue merged commit 4076d91 into WebKit:main Jan 23, 2023
@webkit-commit-queue
Copy link
Collaborator

Committed 259217@main (4076d91): https://commits.webkit.org/259217@main

Reviewed commits have been landed. Closing PR #8866 and removing active labels.

@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants