From d8cc8d3ab86edc25f60193d1e6924d66c437bfa1 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Mon, 17 Oct 2011 17:06:40 -0700 Subject: scons: fix building of shared objects --- src/SConscript | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/SConscript') 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) -- cgit v1.2.3