This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: libstdc++/17469: Testsuite in libstdc++ overrides LD_LIBRARY_PATH


Using global ld_library_path means to override LD_LIBRART_PATH. Don't
do it. When LD_LIBRART_PATH is needed, override it will cause failure.


H.J.
---
2004-09-13  H.J. Lu  <hongjiu.lu@intel.com>

	PR libstdc++/17469
	* testsuite/lib/libstdc++.exp: Don't use global ld_library_path.

--- libstdc++-v3/testsuite/lib/libstdc++.exp.shlib	2004-07-20 09:51:39.000000000 -0700
+++ libstdc++-v3/testsuite/lib/libstdc++.exp	2004-09-13 14:32:04.000000000 -0700
@@ -81,7 +81,7 @@ proc libstdc++_init { testfile } {
     global cxx cxxflags
     global includes
     global gluefile wrap_flags
-    global ld_library_path original_ld_library_path
+    global original_ld_library_path
     global target_triplet
 
     set blddir [lookfor_file [get_multilibs] libstdc++-v3]


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]