summaryrefslogtreecommitdiff
path: root/site_scons
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-01-30 16:12:24 -0500
committerEliot Horowitz <eliot@10gen.com>2012-01-30 16:12:24 -0500
commit79c18c7270e12bc679403f31316064b96b495c64 (patch)
tree6fffc05d251d14a208fe9961e4cd2fb98426a73b /site_scons
parentb86748469f151d147c2c40f68d5b02f7c49acc56 (diff)
downloadmongo-79c18c7270e12bc679403f31316064b96b495c64.tar.gz
hopefully last 32-bit solaris hack, seems to work for all 3 types of binaries
Diffstat (limited to 'site_scons')
-rw-r--r--site_scons/libdeps.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/site_scons/libdeps.py b/site_scons/libdeps.py
index b0ea118febf..8d45eabaf71 100644
--- a/site_scons/libdeps.py
+++ b/site_scons/libdeps.py
@@ -138,6 +138,10 @@ def get_libdeps_objs(source, target, env, for_signature):
objs.update(lib.sources_set)
return list(objs)
+def get_libdeps_special_sun(source, target, env, for_signature):
+ x = get_libdeps(source, target, env, for_signature )
+ return x + x + x
+
def get_syslibdeps(source, target, env, for_signature):
if for_signature:
return[]
@@ -188,7 +192,7 @@ def setup_environment(env):
# this is a horrible horrible hack for
# for 32-bit solaris
if "uname" in dir(os) and os.uname()[1] == "sun32b":
- env['_LIBDEPS_LIBS'] = get_libdeps_objs
+ env['_LIBDEPS_LIBS'] = get_libdeps_special_sun
else:
env['_LIBDEPS_LIBS'] = get_libdeps