summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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