summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorDaniel Moody <daniel.moody@mongodb.com>2021-05-04 09:41:14 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-05-04 15:48:35 +0000
commit00e0dd57a75e2ec51857afd38f106e3ba3c13281 (patch)
tree74edfb1cc21302baa53433f22d64df4d3760f8c1 /SConstruct
parente6037573ac1bae7c8b4b5dadc7daedd4b8928089 (diff)
downloadmongo-00e0dd57a75e2ec51857afd38f106e3ba3c13281.tar.gz
SERVER-56614 fix ninja shell dressing for windows evergreen tasks
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct5
1 files changed, 4 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index a3f048035e6..41507b16786 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1580,6 +1580,9 @@ link_model = get_option('link-model')
if link_model == "auto":
link_model = "static"
+if link_model.startswith('dynamic') and get_option('install-action') == 'symlink':
+ env.FatalError(f"Options '--link-model={link_model}' not supported with '--install-action={get_option('install-action')}'.")
+
# libunwind configuration.
# In which the following globals are set and normalized to bool:
# - use_libunwind
@@ -2039,7 +2042,7 @@ if link_model.startswith("dynamic"):
if env['_LIBDEPS'] == '$_LIBDEPS_LIBS':
# The following platforms probably aren't using the binutils
# toolchain, or may be using it for the archiver but not the
- # linker, and binutils currently is the olny thing that supports
+ # linker, and binutils currently is the only thing that supports
# thin archives. Don't even try on those platforms.
if not env.TargetOSIs('solaris', 'darwin', 'windows', 'openbsd'):
env.Tool('thin_archive')