Skip to content

Commit 5d6d625

Browse files
committed
SERVER-20714 Only build the intel decimal library if decimal support is enabled
1 parent 4727903 commit 5d6d625

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/third_party/SConscript

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- mode: python -*-
22

3-
Import("env use_system_version_of_library usemozjs boostSuffix has_option")
3+
Import("env use_system_version_of_library usemozjs boostSuffix get_option")
44
Import("wiredtiger")
55

66
snappySuffix = '-1.1.2'
@@ -330,7 +330,7 @@ asioEnv.Library(
330330
'shim_asio.cpp'
331331
])
332332

333-
if has_option("experimental-decimal-support"):
333+
if get_option("experimental-decimal-support") == "on":
334334
if use_system_version_of_library("intel_decimal128"):
335335
intelDecimal128Env = env.Clone(
336336
SYSLIBDEPS=[

0 commit comments

Comments
 (0)