summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/db/SConscript15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/mongo/db/SConscript b/src/mongo/db/SConscript
index 28a5215063d..226a3a3174c 100644
--- a/src/mongo/db/SConscript
+++ b/src/mongo/db/SConscript
@@ -780,11 +780,23 @@ env.Library(
],
)
+env.Library(
+ target="ttl_d",
+ source=[
+ "ttl.cpp",
+ ],
+ LIBDEPS=[
+ "catalog/catalog",
+ "commands/dcommands",
+ "db_raii",
+ "ttl_collection_cache",
+ ],
+)
+
# mongod files - also files used in tools. present in dbtests, but not in mongos and not in client
# libs.
serverOnlyFiles = [
"instance.cpp",
- "ttl.cpp",
]
serveronlyLibdeps = [
@@ -876,6 +888,7 @@ serveronlyLibdeps = [
"storage/storage_engine_metadata",
"storage/storage_init_d",
"storage/storage_options",
+ "ttl_d",
"update_index_data",
"views/views_mongod",
]