* configure.ac: Add --with-lib-path option. Define LIB_PATH and
commit70c07c65594bfff9ff81e7cbc7939c2920944fc4
authorIan Lance Taylor <ian@airs.com>
Thu, 3 Nov 2011 04:32:00 +0000 (3 04:32 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 3 Nov 2011 04:32:00 +0000 (3 04:32 +0000)
tree44fcf6004fddd0e61924cd6b7c15cc33cb1815ca
parent80f581918a7f3c8c4d232fa64294d4f7358abcfa
* configure.ac: Add --with-lib-path option.  Define LIB_PATH and
NATIVE_LINKER.
* Makefile.am (AM_CPPFLAGS): Define TOOLLIBDIR.
* options.cc (General_options::finalize): Use library search path
from configure script if specified.  If not native and no sysroot,
only search TOOLLIBDIR.
* options.h (Search_directory::Search_directory): Change name to
const std::string&.
(General_options::add_to_library_path_with_sysroot): Change arg to
const std::string&.
* configure, Makefile.in, config.in: Rebuild.
gold/ChangeLog
gold/Makefile.am
gold/Makefile.in
gold/config.in
gold/configure
gold/configure.ac
gold/options.cc
gold/options.h