summaryrefslogtreecommitdiff
path: root/src/SConscript
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2011-10-17 17:06:40 -0700
committerNathan Binkert <nate@binkert.org>2011-10-17 17:06:40 -0700
commitd8cc8d3ab86edc25f60193d1e6924d66c437bfa1 (patch)
treefa106dc84666d8436a3384c974fb9068fd44cc94 /src/SConscript
parentb61e34fab8a653a5e015e4b9b0f4a121ca59335c (diff)
downloadgem5-d8cc8d3ab86edc25f60193d1e6924d66c437bfa1.tar.xz
scons: fix building of shared objects
Diffstat (limited to 'src/SConscript')
-rwxr-xr-xsrc/SConscript7
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)