summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-08-21 12:00:21 -0400
committerEliot Horowitz <eliot@10gen.com>2010-08-21 12:00:21 -0400
commit1783eb7219f440cfc8fb0028ab1ade6384ea2477 (patch)
tree01b82a704f1249e9c50effce27e335e6161bf1f8 /SConstruct
parentd504248032ce214f015880b697bcce29971a3d26 (diff)
downloadmongo-1783eb7219f440cfc8fb0028ab1ade6384ea2477.tar.gz
fix *nix compile
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct5
1 files changed, 4 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 29934d574cf..8906e59dc7c 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1168,7 +1168,10 @@ def checkErrorCodes():
checkErrorCodes()
# main db target
-mongod = env.Program( "mongod" , commonFiles + coreDbFiles + coreServerFiles + serverOnlyFiles + [ "db/db.cpp" , "util/ntservice.cpp" ] )
+mongodOnlyFiles = [ "db/db.cpp" ]
+if windows:
+ mongodOnlyFiles.append( "util/ntservice.cpp" )
+mongod = env.Program( "mongod" , commonFiles + coreDbFiles + coreServerFiles + serverOnlyFiles + mongodOnlyFiles )
Default( mongod )
# tools