diff options
author | Henrik Edin <henrik.edin@mongodb.com> | 2018-12-05 14:11:38 -0500 |
---|---|---|
committer | Henrik Edin <henrik.edin@mongodb.com> | 2018-12-11 12:02:44 -0500 |
commit | d525ae91e64209267fdaedc17a2542f61b638849 (patch) | |
tree | a3fc55e5e202e3dbea2aa15635c8d4f3b20c6fd1 /SConstruct | |
parent | bc035c247827fbda8df43f5df6bb075da234179d (diff) | |
download | mongo-d525ae91e64209267fdaedc17a2542f61b638849.tar.gz |
SERVER-38168 Vendor Zstandard 1.3.7 to third_party
Added a Zstd based message compressor.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 35b8af631ba..7ede4336041 100644 --- a/SConstruct +++ b/SConstruct @@ -356,6 +356,11 @@ add_option('use-system-zlib', nargs=0, ) +add_option('use-system-zstd', + help="use system version of Zstandard library", + nargs=0, +) + add_option('use-system-sqlite', help='use system version of sqlite library', nargs=0, @@ -3198,6 +3203,9 @@ def doConfigure(myenv): if use_system_version_of_library("zlib"): conf.FindSysLibDep("zlib", ["zdll" if conf.env.TargetOSIs('windows') else "z"]) + if use_system_version_of_library("zstd"): + conf.FindSysLibDep("zstd", ["libzstd" if conf.env.TargetOSIs('windows') else "zstd"]) + if use_system_version_of_library("stemmer"): conf.FindSysLibDep("stemmer", ["stemmer"]) |