summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-06-01 16:09:16 -0400
committerEliot Horowitz <eliot@10gen.com>2009-06-01 16:09:16 -0400
commit3ef3489ad56aae6efc99f2a7ac7187609a3516e5 (patch)
treea419be8586e744b6ed1f0eac6779fb6be4fa61d4 /SConstruct
parent7db7e53afc50746802004d3bcd9cc915083e4f47 (diff)
downloadmongo-3ef3489ad56aae6efc99f2a7ac7187609a3516e5.tar.gz
don't strip on mac
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 3 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 6bc438784eb..647e6f24e4f 100644
--- a/SConstruct
+++ b/SConstruct
@@ -162,6 +162,7 @@ linux64 = False
darwin = False
windows = False
freebsd = False
+solaris = False
force64 = not GetOption( "force64" ) is None
force32 = not GetOption( "force32" ) is None
release = not GetOption( "release" ) is None
@@ -312,6 +313,7 @@ elif "linux2" == os.sys.platform:
elif "sunos5" == os.sys.platform:
nix = True
+ solaris = True
useJavaHome = True
javaHome = "/usr/lib/jvm/java-6-sun/"
javaOS = "solaris"
@@ -1075,7 +1077,7 @@ def installBinary( e , name ):
inst = e.Install( installDir + "/bin" , name )
allBinaries += [ name ]
- if nix:
+ if linux or solaris:
e.AddPostAction( inst, e.Action( 'strip ' + installDir + "/bin/" + name ) )
installBinary( env , "mongodump" )