0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00

BUILD-365: Create Windows Enterprise Zip File with vcredist and dependent dlls

This commit is contained in:
Mark Benvenuto 2014-09-23 14:49:39 -04:00
parent a20269dfb7
commit 812916f533
3 changed files with 5 additions and 2 deletions

View File

@ -668,9 +668,11 @@ extraLibPlaces = []
env['EXTRACPPPATH'] = []
env['EXTRALIBPATH'] = []
env['EXTRABINPATH'] = []
def addExtraLibs( s ):
for x in s.split(","):
env.Append( EXTRABINPATH=[ x + "/bin" ] )
env.Append( EXTRACPPPATH=[ x + "/include" ] )
env.Append( EXTRALIBPATH=[ x + "/lib" ] )
env.Append( EXTRALIBPATH=[ x + "/lib64" ] )

View File

@ -170,7 +170,8 @@ def get_preferred_filename(input_filename, transformations):
returns the substituted string
'''
for match, replace in transformations:
if input_filename.startswith(match):
input_filename_lower = input_filename.lower()
if input_filename_lower.startswith(match):
return replace + input_filename[len(match):]
return input_filename

View File

@ -1321,7 +1321,7 @@ module_banner_transforms = ["--transform %s=$SERVER_DIST_BASENAME" % d for d in
# within the archive (e.g. { "src/mongo/db/modules/enterprise/docs": "snmp"})
archive_addition_transforms = []
for full_dir, archive_dir in env["ARCHIVE_ADDITION_DIR_MAP"].items():
archive_addition_transforms.append("--transform %s=$SERVER_DIST_BASENAME/%s" %
archive_addition_transforms.append("--transform \"%s=$SERVER_DIST_BASENAME/%s\"" %
(full_dir, archive_dir))
env.Command(