summaryrefslogtreecommitdiff
path: root/indra/newview/viewer_manifest.py
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2023-09-11 15:38:58 -0700
committerRoxie Linden <roxie@lindenlab.com>2024-02-22 23:11:33 -0800
commitebfcb6f4e8cad8052ba2c924741a0098b572ed81 (patch)
treec3500cd0094f989df369218bc6c6d367ebd87f53 /indra/newview/viewer_manifest.py
parentb2d4ce16ad344162ecc190f798704e3ac179555a (diff)
some build tweaks
Diffstat (limited to 'indra/newview/viewer_manifest.py')
-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 9230cb0589..b7b737ee4b 100755
--- a/indra/newview/viewer_manifest.py
+++ b/indra/newview/viewer_manifest.py
@@ -1004,6 +1004,12 @@ class Darwin_x86_64_Manifest(ViewerManifest):
):
self.path(libfile)
+ oldpath = os.path.join("@rpath", libfile)
+ self.run_command(
+ ['install_name_tool', '-change', oldpath,
+ '@executable_path/../Resources/%s' % libfile,
+ executable])
+
# dylibs is a list of all the .dylib files we expect to need
# in our bundled sub-apps. For each of these we'll create a
# symlink from sub-app/Contents/Resources to the real .dylib.