diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2009-08-11 14:59:09 -0700 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2009-08-11 14:59:09 -0700 |
commit | 9695162dc20085c807363e562281271cec21cc1d (patch) | |
tree | f585ea93e98b1ebdc16cfd536797b16a79c33d14 /indra | |
parent | 2965f5ff382b26d8f98409bf1040a1976ed25908 (diff) |
Add libllcommon.so to packaged/lib
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/viewer_manifest.py | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py index d198518ee3..432dafaf8f 100755 --- a/indra/newview/viewer_manifest.py +++ b/indra/newview/viewer_manifest.py @@ -483,8 +483,10 @@ class DarwinManifest(ViewerManifest): for lib in "llkdu", "llcommon":
libfile = "lib%s.dylib" % lib
try:
- self.path(self.find_existing_file('../%s/%s/%s' %
- (lib, self.args['configuration'], libfile),
+ self.path(self.find_existing_file(os.path.join(os.pardir,
+ lib,
+ self.args['configuration'],
+ libfile),
os.path.join(libdir, libfile)),
dst=libfile)
except RuntimeError:
@@ -674,15 +676,17 @@ class Linux_i686Manifest(LinuxManifest): # install either the libllkdu we just built, or a prebuilt one, in
# decreasing order of preference. for linux package, this goes to bin/
- try:
- self.path(self.find_existing_file('../llkdu/libllkdu.so',
- '../../libraries/i686-linux/lib_release_client/libllkdu.so'),
- dst='bin/libllkdu.so')
- # keep this one to preserve syntax, open source mangling removes previous lines
- pass
- except:
- print "Skipping libllkdu.so - not found"
- pass
+ for lib, destdir in ("llkdu", "bin"), ("llcommon", "lib"):
+ libfile = "lib%s.so" % lib
+ try:
+ self.path(self.find_existing_file(os.path.join(os.pardir, lib, libfile),
+ '../../libraries/i686-linux/lib_release_client/%s' % libfile),
+ dst=os.path.join(destdir, libfile))
+ # keep this one to preserve syntax, open source mangling removes previous lines
+ pass
+ except RuntimeError:
+ print "Skipping %s - not found" % libfile
+ pass
self.path("secondlife-stripped","bin/do-not-directly-run-secondlife-bin")
self.path("../linux_crash_logger/linux-crash-logger-stripped","linux-crash-logger.bin")
|