diff --git a/SConstruct b/SConstruct index 063ceefefd7..8b14f5f49d9 100644 --- a/SConstruct +++ b/SConstruct @@ -406,10 +406,13 @@ else: commonFiles += [ "util/processinfo_none.cpp" ] coreDbFiles = [ "db/commands.cpp" ] -coreServerFiles = [ "util/message_server_port.cpp" , "util/message_server_asio.cpp" , +coreServerFiles = [ "util/message_server_port.cpp" , "client/parallel.cpp" , "db/matcher.cpp" , "db/indexkey.cpp" , "db/dbcommands_generic.cpp" ] +if GetOption( "asio" ) != None: + coreServerFiles += [ "util/message_server_asio.cpp" ] + serverOnlyFiles = Split( "db/query.cpp db/update.cpp db/introspect.cpp db/btree.cpp db/clientcursor.cpp db/tests.cpp db/repl.cpp db/repl/rs.cpp db/repl/consensus.cpp db/repl/rs_initiate.cpp db/repl/replset_commands.cpp db/repl/manager.cpp db/repl/health.cpp db/repl/heartbeat.cpp db/repl/rs_config.cpp db/oplog.cpp db/repl_block.cpp db/btreecursor.cpp db/cloner.cpp db/namespace.cpp db/matcher_covered.cpp db/dbeval.cpp db/dbwebserver.cpp db/dbhelpers.cpp db/instance.cpp db/client.cpp db/database.cpp db/pdfile.cpp db/cursor.cpp db/security_commands.cpp db/security.cpp util/miniwebserver.cpp db/storage.cpp db/queryoptimizer.cpp db/extsort.cpp db/mr.cpp s/d_util.cpp db/cmdline.cpp" ) serverOnlyFiles += [ "db/index.cpp" ] + Glob( "db/index_*.cpp" )