summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2009-07-31 13:26:24 -0400
committerNat Goodspeed <nat@lindenlab.com>2009-07-31 13:26:24 -0400
commit084983485f9e05ff9164fabe3244ffd6f33295cf (patch)
tree6ee8153ce7d3644b1a9d540dc371e37343812b19 /indra
parent1e1a38d5745a680c712be9bcc088a75f6eafa7da (diff)
DEV-34837: update Mac apr_suite package so that each of the .dylib files
self-identifies as @executable_path/../Resources/filename. This allows the SL executable to find it at runtime in its official place in the app bundle. Change viewer_manifest.py to copy libllcommon.dylib, libapr*.dylib to app bundle's Resources subdir.
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/viewer_manifest.py25
1 files changed, 20 insertions, 5 deletions
diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py
index f35c6f449e..7b8a64e3b4 100755
--- a/indra/newview/viewer_manifest.py
+++ b/indra/newview/viewer_manifest.py
@@ -472,16 +472,31 @@ class DarwinManifest(ViewerManifest):
self.path("vivox-runtime/universal-darwin/libvivoxsdk.dylib", "libvivoxsdk.dylib")
self.path("vivox-runtime/universal-darwin/SLVoice", "SLVoice")
+ libdir = "../../libraries/universal-darwin/lib_release"
+
+ for libfile in ("libapr-1.0.3.7.dylib", "libaprutil-1.0.3.8.dylib"):
+ self.path(os.path.join(libdir, libfile), libfile)
+
# need to get the kdu dll from any of the build directories as well
+ lib = "llkdu"
+ libfile = "lib%s.dylib" % lib
try:
- self.path(self.find_existing_file('../llkdu/%s/libllkdu.dylib' % self.args['configuration'],
- "../../libraries/universal-darwin/lib_release/libllkdu.dylib"),
- dst='libllkdu.dylib')
+ self.path(self.find_existing_file('../%s/%s/%s' %
+ (lib, self.args['configuration'], libfile),
+ os.path.join(libdir, libfile)),
+ dst=libfile)
pass
except:
- print "Skipping libllkdu.dylib"
+ print "Skipping %s" % libfile
pass
-
+
+ lib = "llcommon"
+ libfile = "lib%s.dylib" % lib
+ self.path(self.find_existing_file('../%s/%s/%s' %
+ (lib, self.args['configuration'], libfile),
+ os.path.join(libdir, libfile)),
+ dst=libfile)
+
#libfmodwrapper.dylib
self.path(self.args['configuration'] + "/libfmodwrapper.dylib", "libfmodwrapper.dylib")