<rdar://problem/23886216> REGRESSION (r194022): Production builds of PluginProcess...
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Dec 2015 06:08:19 +0000 (06:08 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Dec 2015 06:08:19 +0000 (06:08 +0000)
commitc43a0498ad8a3a2ca72dfff9656713305594d1e0
tree5ccc09c35b8f732cb8b83675c4354e70c1eb5d65
parent9ee1a2b78773751830334e8e2b24f21c050b825e
<rdar://problem/23886216> REGRESSION (r194022): Production builds of PluginProcess crash on launch when not installed in /System
https://bugs.webkit.org/show_bug.cgi?id=152291

Reviewed by Darin Adler.

* Configurations/PluginProcess.xcconfig: Added a FIXME.
* UIProcess/Launcher/mac/ProcessLauncherMac.mm:
(WebKit::addDYLDEnvironmentAdditions): Set DYLD_LIBRARY_PATH to point to where the shims
are. This is needed because starting in El Capitan, the processes’ main executables link
directly against the shims, so the dynamic linker needs to be able to find them in the
non-/System location. Also added a FIXME about not having to set DYLD_INSERT_LIBRARIES when
the main executables link the them directly.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@194094 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/Configurations/PluginProcess.xcconfig
Source/WebKit2/UIProcess/Launcher/mac/ProcessLauncherMac.mm