diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-08-21 12:00:21 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-08-21 12:00:21 -0400 |
commit | 1783eb7219f440cfc8fb0028ab1ade6384ea2477 (patch) | |
tree | 01b82a704f1249e9c50effce27e335e6161bf1f8 /SConstruct | |
parent | d504248032ce214f015880b697bcce29971a3d26 (diff) | |
download | mongo-1783eb7219f440cfc8fb0028ab1ade6384ea2477.tar.gz |
fix *nix compile
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 5 |
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 |