diff options
author | Nathan Binkert <nate@binkert.org> | 2011-10-17 17:06:40 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2011-10-17 17:06:40 -0700 |
commit | d8cc8d3ab86edc25f60193d1e6924d66c437bfa1 (patch) | |
tree | fa106dc84666d8436a3384c974fb9068fd44cc94 | |
parent | b61e34fab8a653a5e015e4b9b0f4a121ca59335c (diff) | |
download | gem5-d8cc8d3ab86edc25f60193d1e6924d66c437bfa1.tar.xz |
scons: fix building of shared objects
-rwxr-xr-x | src/SConscript | 7 |
1 files changed, 4 insertions, 3 deletions
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) |