summaryrefslogtreecommitdiff
path: root/site_scons/libdeps.py
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-01-30 15:59:39 -0500
committerEliot Horowitz <eliot@10gen.com>2012-01-30 15:59:39 -0500
commitb86748469f151d147c2c40f68d5b02f7c49acc56 (patch)
treeeb91008e1f40bcd32e14288632da88bd737fd631 /site_scons/libdeps.py
parent5cca648b607d438041aff206e1df44936110d28b (diff)
downloadmongo-b86748469f151d147c2c40f68d5b02f7c49acc56.tar.gz
fix windows python issue
Diffstat (limited to 'site_scons/libdeps.py')
-rw-r--r--site_scons/libdeps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/site_scons/libdeps.py b/site_scons/libdeps.py
index 41080cc2210..b0ea118febf 100644
--- a/site_scons/libdeps.py
+++ b/site_scons/libdeps.py
@@ -187,7 +187,7 @@ def setup_environment(env):
# TODO: remove this
# this is a horrible horrible hack for
# for 32-bit solaris
- if os.uname()[1] == "sun32b":
+ if "uname" in dir(os) and os.uname()[1] == "sun32b":
env['_LIBDEPS_LIBS'] = get_libdeps_objs
else:
env['_LIBDEPS_LIBS'] = get_libdeps