scons: Fix two problems with the way that the library path is generated.
authorNathan Binkert <nate@binkert.org>
Wed, 22 Apr 2009 00:17:15 +0000 (17:17 -0700)
committerNathan Binkert <nate@binkert.org>
Wed, 22 Apr 2009 00:17:15 +0000 (17:17 -0700)
commit56e5509bfd4e670c032ccff4c7d68dbe7493eadd
tree86f6cad462524fedc0c9d85e591834d8d46b59d3
parent4d001e43da6da2972172c352153e745238860021
scons: Fix two problems with the way that the library path is generated.
1) -L is automatically added, so don't do it ourselves
2) prepend the paths for gzstream and libelf so they are certain to
come first. The problem is that python might add /usr/lib to the path
and the user might have a locally installed version of libelf installed.
SConstruct
ext/gzstream/SConscript
ext/libelf/SConscript