summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2025-03-12 17:11:50 +0200
committerAndrey Lihatskiy <alihatskiy@productengine.com>2025-03-12 18:08:16 +0200
commitd8fa590fca7372a8c4b8ef46b8d1f36db6e682e5 (patch)
treeda8354756a6faaebecec89528345702bae22be18
parent7e9e5bf872f7866619343c14208a7f1fba6f5094 (diff)
Set correct rpath for OpenAL
-rwxr-xr-xindra/newview/viewer_manifest.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py
index f9aaeabbfb..cada4a2cd6 100755
--- a/indra/newview/viewer_manifest.py
+++ b/indra/newview/viewer_manifest.py
@@ -1027,6 +1027,12 @@ class Darwin_x86_64_Manifest(ViewerManifest):
):
dylibs += path_optional(os.path.join(relpkgdir, libfile), libfile)
+ oldpath = os.path.join("@rpath", libfile)
+ self.run_command(
+ ['install_name_tool', '-change', oldpath,
+ '@executable_path/../Resources/%s' % libfile,
+ executable])
+
# our apps
executable_path = {}
embedded_apps = [ (os.path.join("llplugin", "slplugin"), "SLPlugin.app") ]