From 79c18c7270e12bc679403f31316064b96b495c64 Mon Sep 17 00:00:00 2001 From: Eliot Horowitz Date: Mon, 30 Jan 2012 16:12:24 -0500 Subject: hopefully last 32-bit solaris hack, seems to work for all 3 types of binaries --- site_scons/libdeps.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'site_scons/libdeps.py') 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 -- cgit v1.2.1