summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2021-09-21 12:34:45 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2021-09-21 14:36:16 +0300
commit316753352eaf5e1d555116f2f0f149c19521830f (patch)
tree99affaeb28312badbe3d78c1fbc7dbdcad1f8743
parent8c7db0ad6cbdcfa7d80636ed13ba657e7189420e (diff)
SL-15903 Restored the lost code
-rwxr-xr-xindra/newview/viewer_manifest.py22
1 files changed, 13 insertions, 9 deletions
diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py
index ce7df2ccb5..55d1edb151 100755
--- a/indra/newview/viewer_manifest.py
+++ b/indra/newview/viewer_manifest.py
@@ -1064,15 +1064,19 @@ class DarwinManifest(ViewerManifest):
# our apps
executable_path = {}
- self.path2basename(os.path.join(os.pardir, os.path.join("llplugin", "slplugin"), self.args['configuration']), "SLPlugin.app")
- executable_path["SLPlugin.app"] = \
- self.dst_path_of(os.path.join("SLPlugin.app", "Contents", "MacOS"))
-
- # our apps dependencies on shared libs
- # for each app, for each dylib we collected in dylibs,
- # create a symlink to the real copy of the dylib.
- with self.prefix(dst=os.path.join("SLPlugin.app", "Contents", "Resources")):
- for libfile in dylibs:
+ embedded_apps = [ (os.path.join("llplugin", "slplugin"), "SLPlugin.app") ]
+ for app_bld_dir, app in embedded_apps:
+ self.path2basename(os.path.join(os.pardir,
+ app_bld_dir, self.args['configuration']),
+ app)
+ executable_path[app] = \
+ self.dst_path_of(os.path.join(app, "Contents", "MacOS"))
+
+ # our apps dependencies on shared libs
+ # for each app, for each dylib we collected in dylibs,
+ # create a symlink to the real copy of the dylib.
+ with self.prefix(dst=os.path.join(app, "Contents", "Resources")):
+ for libfile in dylibs:
self.relsymlinkf(os.path.join(libfile_parent, libfile))
# Dullahan helper apps go inside SLPlugin.app