diff options
author | Andrew Morrow <acm@mongodb.com> | 2016-12-10 18:50:05 -0500 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2016-12-14 09:22:24 -0500 |
commit | de76e4a97fb1de1971ba20a25eb9d2683722ee8a (patch) | |
tree | c9045bdd26e6fb0f81f709207815e2cdae836aaf | |
parent | 25fa51c9438caa37adda1fb7c90548f3032593a8 (diff) | |
download | mongo-de76e4a97fb1de1971ba20a25eb9d2683722ee8a.tar.gz |
SERVER-23103 Move ttl to own library
-rw-r--r-- | src/mongo/db/SConscript | 15 |
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", ] |