diff --git a/src/mongo/db/SConscript b/src/mongo/db/SConscript index a204edbfb9a..04c9ddd1b3e 100644 --- a/src/mongo/db/SConscript +++ b/src/mongo/db/SConscript @@ -2319,6 +2319,7 @@ env.Library( LIBDEPS_PRIVATE=[ # NOTE: If you need to add a static or mongo initializer to mongod startup, # please add that library here, as a private library dependency. + '$BUILD_DIR/mongo/db/auth/authmongos', '$BUILD_DIR/mongo/db/query/op_metrics', '$BUILD_DIR/mongo/executor/async_rpc_error_info', '$BUILD_DIR/mongo/executor/network_interface_factory', diff --git a/src/mongo/s/mongos_main.cpp b/src/mongo/s/mongos_main.cpp index 4667fd7d2da..5061f1764a4 100644 --- a/src/mongo/s/mongos_main.cpp +++ b/src/mongo/s/mongos_main.cpp @@ -921,10 +921,6 @@ void startupConfigActions(const std::vector& argv) { #endif } -std::unique_ptr createAuthzManagerExternalStateMongos() { - return std::make_unique(); -} - ExitCode main(ServiceContext* serviceContext) { serviceContext->setFastClockSource(FastClockSourceFactory::create(Milliseconds{10}));