diff options
author | Eliot Horowitz <eliot@10gen.com> | 2011-07-28 19:54:51 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2011-07-28 19:54:51 -0400 |
commit | b1ec2058673f8ca582a490c2dd4a8405698221ae (patch) | |
tree | c403f738b1afaf6674967cfa3dc01cc3bf48db33 | |
parent | 64ae794bd8236baa444fc4e998faeab0c53cf810 (diff) | |
download | mongo-b1ec2058673f8ca582a490c2dd4a8405698221ae.tar.gz |
compile on linux3 SERVER-3457
-rw-r--r-- | SConstruct | 4 | ||||
-rwxr-xr-x | distsrc/client/SConstruct | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct index 55d34d543db..c47d3f6d280 100644 --- a/SConstruct +++ b/SConstruct @@ -343,6 +343,8 @@ processInfoFiles = [ "util/processinfo.cpp" ] if os.path.exists( "util/processinfo_" + os.sys.platform + ".cpp" ): processInfoFiles += [ "util/processinfo_" + os.sys.platform + ".cpp" ] +elif os.sys.platform == "linux3": + processInfoFiles += [ "util/processinfo_linux2.cpp" ] else: processInfoFiles += [ "util/processinfo_none.cpp" ] @@ -474,7 +476,7 @@ if "darwin" == os.sys.platform: env.Append( CPPPATH=filterExists(["/sw/include" , "/opt/local/include"]) ) env.Append( LIBPATH=filterExists(["/sw/lib/", "/opt/local/lib"]) ) -elif "linux2" == os.sys.platform: +elif "linux2" == os.sys.platform or "linux3" == os.sys.platform: linux = True platform = "linux" diff --git a/distsrc/client/SConstruct b/distsrc/client/SConstruct index c2d309a4e5a..54fc9437d3c 100755 --- a/distsrc/client/SConstruct +++ b/distsrc/client/SConstruct @@ -41,7 +41,7 @@ linux = False if "darwin" == os.sys.platform: addExtraLibs( "/opt/local/" ) nix = True -elif "linux2" == os.sys.platform: +elif "linux2" == os.sys.platform or "linux3" == os.sys.platform: nix = True linux = True |