* lib/g++.exp (g++_link_flags): Append LD_LIBRARY_PATH to
ld_library_path.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78581
138bc75d-0d04-0410-961f-
82ee72b054a4
+2004-02-27 Aldy Hernandez <aldyh@redhat.com>
+
+ * lib/g++.exp (g++_link_flags): Append LD_LIBRARY_PATH to
+ ld_library_path.
+
2004-02-27 Ziemowit Laski <zlaski@apple.com>
* g++.dg/ext/altivec-3.C: New.
# (SHLIB_PATH).
# Doing this does cause trouble when testing cross-compilers.
if {![is_remote target]} {
+ global env;
+ if { $env(LD_LIBRARY_PATH) != "" } {
+ append ld_library_path ":$env(LD_LIBRARY_PATH)";
+ }
setenv LD_LIBRARY_PATH $ld_library_path
setenv SHLIB_PATH $ld_library_path
setenv LD_LIBRARYN32_PATH $ld_library_path