ext: Link gem5 libelf to ext/libelf/libelf.a
authorHoa Nguyen <hoanguyen@ucdavis.edu>
Wed, 2 Sep 2020 00:36:55 +0000 (17:36 -0700)
committerHoa Nguyen <hoanguyen@ucdavis.edu>
Wed, 2 Sep 2020 20:36:14 +0000 (20:36 +0000)
commitd2fb5c047f400d87f308d1c6c3f73ef8adcd9ec4
treee7a7d4cc0e8dc715f0558eec3333a2202b45cfea
parent21abaac89d67df7f992ecaf957ae2a0cacb46610
ext: Link gem5 libelf to ext/libelf/libelf.a

Currently, gem5 might use system's libelf library instead of
the one compiled from ext/libelf.
This commit tells scons to use ext/libelf version.

JIRA: https://gem5.atlassian.net/browse/GEM5-756

Signed-off-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
Change-Id: I8dc4555c32a956e9f5249288c71982fa6a3678f7
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33941
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
ext/libelf/SConscript