summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorHenrik Edin <henrik.edin@mongodb.com>2017-12-28 18:13:20 -0500
committerHenrik Edin <henrik.edin@mongodb.com>2017-12-29 12:30:20 -0500
commit5fdcba0afa6307853a0aa6d7f62d9fdb2cc5c3da (patch)
treebdb508d2ceabac86fb9cb05cff54bc1aa33e189f /SConstruct
parent449905c81af3803ebb16eb8f7ca779ae783517d9 (diff)
downloadmongo-5fdcba0afa6307853a0aa6d7f62d9fdb2cc5c3da.tar.gz
SERVER-32405 Support calling ar with temp file to support long command lines. (not available for libtool)
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 4 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 5ff5050d0e8..35f31771cca 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1351,9 +1351,13 @@ if not 'mslink' in env['TOOLS']:
if env.Verbose():
env["LINKCOM"] = "${{TEMPFILE('{0}', '')}}".format(env['LINKCOM'])
env["SHLINKCOM"] = "${{TEMPFILE('{0}', '')}}".format(env['SHLINKCOM'])
+ if not 'libtool' in env['TOOLS']:
+ env["ARCOM"] = "${{TEMPFILE('{0}', '')}}".format(env['ARCOM'])
else:
env["LINKCOM"] = "${{TEMPFILE('{0}', 'LINKCOMSTR')}}".format(env['LINKCOM'])
env["SHLINKCOM"] = "${{TEMPFILE('{0}', 'SHLINKCOMSTR')}}".format(env['SHLINKCOM'])
+ if not 'libtool' in env['TOOLS']:
+ env["ARCOM"] = "${{TEMPFILE('{0}', 'ARCOMSTR')}}".format(env['ARCOM'])
if env['_LIBDEPS'] == '$_LIBDEPS_OBJS':
# The libraries we build in LIBDEPS_OBJS mode are just placeholders for tracking dependencies.