summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorDaniel Moody <daniel.moody@mongodb.com>2022-06-24 01:17:19 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-06-24 06:45:43 +0000
commita9bc1f1a105d9f86544f6bf3899072d7c78af6a6 (patch)
tree6e5f7f75d4a504d43e6b7ba27dd3277c9ba889da /SConstruct
parent3822c3b796cc5d2c5b176505138134f58dd1e332 (diff)
downloadmongo-a9bc1f1a105d9f86544f6bf3899072d7c78af6a6.tar.gz
SERVER-63616 fix link model check for macos dynamic linking
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 4f0981ed9e0..ffee0c3322d 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1866,12 +1866,12 @@ if link_model.startswith('dynamic') and get_option('install-action') == 'symlink
f"Options '--link-model={link_model}' not supported with '--install-action={get_option('install-action')}'."
)
-if link_model.startswith('dynamic') and env.TargetOSIs(
+if link_model == 'dynamic' and env.TargetOSIs(
'darwin') and not get_option('force-macos-dynamic-link'):
macos_version_message = textwrap.dedent("""\
link-model=dynamic us only supported on macos version 12 or higher.
- This is due to a 512 dylib limit on older macos. See this post for
+ This is due to a 512 dylib RUNTIME limit on older macos. See this post for
more information: https://developer.apple.com/forums//thread/708366?login=true&page=1#717495022
Use '--force-macos-dynamic-link' to bypass this check.
""")