Skip to content
Snippets Groups Projects
Commit bdecc9cc authored by callum@lindenlab.com's avatar callum@lindenlab.com
Browse files

Next part of the 'SL-641 Update CEF -> cef-bin -> Dullahan -> p64_3p-Dullahan...

Next part of the 'SL-641 Update CEF -> cef-bin -> Dullahan -> p64_3p-Dullahan -> media_plugin_cef.cpp to current latest version' puzzle - fix @rpath/@executable paths for macOS
parent f0b5a263
No related branches found
No related tags found
No related merge requests found
......@@ -867,11 +867,9 @@ def path_optional(src, dst):
self.end_prefix()
# the helper app needs to have it's @executable_path modified to point to the
# same location we drop the CEF framework shortcut
helperexecutablepath = self.dst_path_of('SLPlugin.app/Contents/Frameworks/DullahanHelper.app/Contents/MacOS/DullahanHelper')
self.run_command('install_name_tool -change '
'"@executable_path/Chromium Embedded Framework" '
'"@rpath/Frameworks/Chromium Embedded Framework.framework/Chromium Embedded Framework" '
'"@executable_path/Frameworks/Chromium Embedded Framework.framework/Chromium Embedded Framework" "%s"' % helperexecutablepath)
# SLPlugin plugins
......@@ -896,6 +894,12 @@ def path_optional(src, dst):
self.end_prefix("llplugin")
# do this install_name_tool *after* media plugin is copied over
dylibexecutablepath = self.dst_path_of('llplugin/media_plugin_cef.dylib')
self.run_command('install_name_tool -change '
'"@rpath/Frameworks/Chromium Embedded Framework.framework/Chromium Embedded Framework" '
'"@executable_path/../Frameworks/Chromium Embedded Framework.framework/Chromium Embedded Framework" "%s"' % dylibexecutablepath)
self.end_prefix("Resources")
# CEF framework goes inside Second Life.app/Contents/Frameworks
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment