summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrad kittenbrink <brad@lindenlab.com>2009-09-28 11:03:00 -0700
committerbrad kittenbrink <brad@lindenlab.com>2009-09-28 11:03:00 -0700
commit3f05d552fec9d4d9a17c9131f445a7db0eef561f (patch)
tree52f7088bd0025050f0a297d82d9df48beebdd80f
parent76dd0fd2cf1bfa83d479e62104a2d5e7058c6506 (diff)
parent0eedd1d9e8490ae771c8ea4af5c412d95385c800 (diff)
Merged in my fix of bogus libtcmalloc_minimal.dll packaging.
-rwxr-xr-xindra/newview/viewer_manifest.py14
1 files changed, 9 insertions, 5 deletions
diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py
index d21e520974..8a3905633f 100755
--- a/indra/newview/viewer_manifest.py
+++ b/indra/newview/viewer_manifest.py
@@ -334,11 +334,15 @@ class WindowsManifest(ViewerManifest):
dst="updater.exe")
# For google-perftools tcmalloc allocator.
- try:
- self.path('%s/libtcmalloc_minimal.dll' % self.args['configuration'])
- except:
- print "Skipping libtcmalloc_minimal.dll"
- pass
+ if self.prefix(src=self.args['configuration'], dst=""):
+ try:
+ if self.args['configuration'] == 'Debug':
+ self.path('libtcmalloc_minimal-debug.dll')
+ else:
+ self.path('libtcmalloc_minimal.dll')
+ except:
+ print "Skipping libtcmalloc_minimal.dll"
+ self.end_prefix()
def nsi_file_commands(self, install=True):
def wpath(path):