d158c01042
PR: 209150 Submitted by: demon
20 lines
791 B
Text
20 lines
791 B
Text
--- src/mongo/SConscript.orig 2016-03-21 17:09:46.000000000 +0100
|
|
+++ src/mongo/SConscript 2016-05-02 12:44:35.405331527 +0200
|
|
@@ -13,7 +13,7 @@ Import("has_option")
|
|
Import("get_option")
|
|
Import("usev8")
|
|
Import("enforce_glibc")
|
|
-Import("darwin windows solaris linux nix")
|
|
+Import("darwin windows solaris linux freebsd nix")
|
|
|
|
env.SConscript(['base/SConscript',
|
|
'db/auth/SConscript',
|
|
@@ -1183,7 +1183,7 @@ def installBinary( e, name ):
|
|
if enforce_glibc:
|
|
e.AddPostAction( name, checkGlibc )
|
|
|
|
- if (solaris or linux) and (not has_option("nostrip")):
|
|
+ if (solaris or linux or freebsd) and (not has_option("nostrip")):
|
|
name = e.Command('stripped/%s' % name, name, Copy('$TARGET', '$SOURCE'))[0]
|
|
e.AddPostAction(name, 'strip $TARGET')
|
|
|