scons: Add LIBRARY_PATH from the user environment to Scons
Review Request #1304 - Created July 10, 2012 and submitted
| Information | |
|---|---|
| Andreas Hansson | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9114:15ee07c4ac0c --------------------------- scons: Add LIBRARY_PATH from the user environment to Scons This patch adds the LIBRARY_PATH from the users OS environment to Scons build environment. This path is used when linking to search for libraries, and this patch enables tcmalloc to be used during the build even if it is not placed in the default search paths.
Built and ran with correct setting, also linking with tcmalloc
Ship It!
For those who are unfamiliar with LIBRARY_PATH (as I was): http://stackoverflow.com/questions/4250624/ld-library-path-vs-library-path
