diff options
author | Eliot Horowitz <ehorowitz@shopwiki.com> | 2009-03-25 13:22:09 -0400 |
---|---|---|
committer | Eliot Horowitz <ehorowitz@shopwiki.com> | 2009-03-25 13:22:09 -0400 |
commit | c585ac8b400e6e6e376fe5a73251d2807f3dd91a (patch) | |
tree | 86bbb0948fbc2f23f0206ab2b6254b18fd9463e3 | |
parent | cc6f3c9a259bcabf3ffd6153ced0cfe04785b289 (diff) | |
download | mongo-c585ac8b400e6e6e376fe5a73251d2807f3dd91a.tar.gz |
v8 now requires rt on linux
-rw-r--r-- | SConstruct | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 9cc6a744477..24dfc86bc3b 100644 --- a/SConstruct +++ b/SConstruct @@ -162,6 +162,7 @@ allClientFiles = commonFiles + coreDbFiles + [ "client/clientOnly.cpp" , "client onlyServer = len( COMMAND_LINE_TARGETS ) == 0 or ( len( COMMAND_LINE_TARGETS ) == 1 and str( COMMAND_LINE_TARGETS[0] ) == "mongod" ) nix = False useJavaHome = False +linux = False linux64 = False darwin = False windows = False @@ -231,6 +232,7 @@ if "darwin" == os.sys.platform: env.Append( LIBPATH=["/sw/lib/", "/opt/local/lib"] ) elif "linux2" == os.sys.platform: + linux = True useJavaHome = True javaOS = "linux" platform = "linux" @@ -480,6 +482,9 @@ def doConfigure( myenv , needJava=True , needPcre=True , shell=False ): else: print( "WARNING: no readline, shell will be a bit ugly" ) + if linux: + myCheckLib( "rt" , True ) + # this will add it iff it exists and works myCheckLib( "boost_system-mt" ) |