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:
parent
a20269dfb7
commit
812916f533
@ -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" ] )
|
||||
|
@ -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
|
||||
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user