summaryrefslogtreecommitdiff
path: root/site_scons
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-01-30 15:43:45 -0500
committerEliot Horowitz <eliot@10gen.com>2012-01-30 15:43:45 -0500
commit5cca648b607d438041aff206e1df44936110d28b (patch)
treeefb736b38c0fab5a264e4f2ef0d8c9c32a9a27ea /site_scons
parent38399f723c6fb7a6de6f7ac1d57bd6f4490d7fb3 (diff)
downloadmongo-5cca648b607d438041aff206e1df44936110d28b.tar.gz
different hack for 32-bit solaris
Diffstat (limited to 'site_scons')
-rw-r--r--site_scons/libdeps.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/site_scons/libdeps.py b/site_scons/libdeps.py
index dc0726ee310..41080cc2210 100644
--- a/site_scons/libdeps.py
+++ b/site_scons/libdeps.py
@@ -184,7 +184,14 @@ def setup_environment(env):
except KeyError:
env['_LIBDEPS'] = '$_LIBDEPS_LIBS'
- env['_LIBDEPS_LIBS'] = get_libdeps
+ # TODO: remove this
+ # this is a horrible horrible hack for
+ # for 32-bit solaris
+ if os.uname()[1] == "sun32b":
+ env['_LIBDEPS_LIBS'] = get_libdeps_objs
+ else:
+ env['_LIBDEPS_LIBS'] = get_libdeps
+
env['_LIBDEPS_OBJS'] = get_libdeps_objs
env['_SYSLIBDEPS'] = ' ${_stripixes(LIBLINKPREFIX, SYSLIBDEPS, LIBLINKSUFFIX, LIBPREFIXES, LIBSUFFIXES, __env__)} '
env['_SHLIBDEPS'] = '$SHLIBDEP_GROUP_START ${_concat(SHLIBDEPPREFIX, __env__.subst(_LIBDEPS, target=TARGET, source=SOURCE), SHLIBDEPSUFFIX, __env__, target=TARGET, source=SOURCE)} $SHLIBDEP_GROUP_END'