From: Nathan Binkert Date: Tue, 18 Oct 2011 00:06:40 +0000 (-0700) Subject: scons: fix building of shared objects X-Git-Tag: stable_2012_02_02~41 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8cc8d3ab86edc25f60193d1e6924d66c437bfa1;p=gem5.git scons: fix building of shared objects --- diff --git a/src/SConscript b/src/SConscript index 117f21394..b4bfb61fd 100755 --- a/src/SConscript +++ b/src/SConscript @@ -904,9 +904,10 @@ def makeEnv(label, objsfx, strip = False, **kwargs): return obj - sources = Source.get(main=False, skip_lib=False) - static_objs = [ make_obj(s, True) for s in sources ] - shared_objs = [ make_obj(s, False) for s in sources ] + static_objs = \ + [ make_obj(s, True) for s in Source.get(main=False, skip_lib=False) ] + shared_objs = \ + [ make_obj(s, False) for s in Source.get(main=False, skip_lib=False) ] static_date = make_obj(date_source, static=True, extra_deps=static_objs) static_objs.append(static_date)