summaryrefslogtreecommitdiff
path: root/src/mongo/s/catalog
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2015-04-16 15:24:05 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2015-04-17 08:50:33 -0400
commite6cc5fe9d5423e5ec86338d73a39446950a63ce1 (patch)
tree2e65ada7adc371f0bc88418df77574ea3864ca4b /src/mongo/s/catalog
parent2b08b38883fca56a38b8d4697e7e6606649379d9 (diff)
downloadmongo-e6cc5fe9d5423e5ec86338d73a39446950a63ce1.tar.gz
SERVER-18024 Link CatalogManagerLegacy in mongos/mongod only
The legacy catalog manager should only be liked by the mongod/mongos executables. Other code need not know about it since it must be going through the CatalogManager interface.
Diffstat (limited to 'src/mongo/s/catalog')
-rw-r--r--src/mongo/s/catalog/legacy/SConscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/s/catalog/legacy/SConscript b/src/mongo/s/catalog/legacy/SConscript
index 7a682d54e3a..ef2af6730dd 100644
--- a/src/mongo/s/catalog/legacy/SConscript
+++ b/src/mongo/s/catalog/legacy/SConscript
@@ -20,12 +20,14 @@ env.Library(
]
)
+
env.CppUnitTest(
target='catalog_manager_legacy_test',
source=[
'config_coordinator_test.cpp',
],
LIBDEPS=[
+ 'catalog_manager_legacy',
'$BUILD_DIR/mongo/coredb',
'$BUILD_DIR/mongo/coreserver',
'$BUILD_DIR/mongo/coreshard',