g++.exp (g++_link_flags): Append LD_LIBRARY_PATH to ld_library_path.
2004-02-27 Aldy Hernandez <aldyh@redhat.com> * lib/g++.exp (g++_link_flags): Append LD_LIBRARY_PATH to ld_library_path. From-SVN: r78581
This commit is contained in:
parent
238345774b
commit
dab8eb5731
|
@ -1,3 +1,8 @@
|
|||
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.
|
||||
|
|
|
@ -176,6 +176,10 @@ proc g++_link_flags { paths } {
|
|||
# (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
|
||||
|
|
Loading…
Reference in New Issue