libffi-dg.exp: Set LD_LIBRARY_PATH_32 for Solaris.

2004-01-12  Andreas Tobler  <a.tobler@schweiz.ch>

	* testsuite/lib/libffi-dg.exp: Set LD_LIBRARY_PATH_32 for
	Solaris.

From-SVN: r75760
This commit is contained in:
Andreas Tobler 2004-01-12 21:49:14 +01:00 committed by Andreas Tobler
parent c91de77a9d
commit 7b2e3e60a6
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-01-12 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/lib/libffi-dg.exp: Set LD_LIBRARY_PATH_32 for
Solaris.
2004-01-08 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2004-01-08 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* testsuite/libffi.call/ffitest.h (allocate_mmap): Cast MAP_FAILED * testsuite/libffi.call/ffitest.h (allocate_mmap): Cast MAP_FAILED

View File

@ -129,12 +129,15 @@ proc libffi-init { args } {
# called LD_LIBRARYN32_PATH (for the N32 ABI) and LD_LIBRARY64_PATH # called LD_LIBRARYN32_PATH (for the N32 ABI) and LD_LIBRARY64_PATH
# (for the 64-bit ABI). The right way to do this would be to modify # (for the 64-bit ABI). The right way to do this would be to modify
# unix.exp -- but that's not an option since it's part of DejaGNU # unix.exp -- but that's not an option since it's part of DejaGNU
# proper, so we do it here. We really only need to do # proper, so we do it here.
# this on IRIX, but it shouldn't hurt to do it anywhere else. # The same applies to darwin (DYLD_LIBRARY_PATH), solaris 32 bit
# (LD_LIBRARY_PATH_32), solaris 64 bit (LD_LIBRARY_PATH_64), and HP-UX
# (SHLIB_PATH).
setenv LD_LIBRARY_PATH $ld_library_path setenv LD_LIBRARY_PATH $ld_library_path
setenv SHLIB_PATH $ld_library_path setenv SHLIB_PATH $ld_library_path
setenv LD_LIBRARYN32_PATH $ld_library_path setenv LD_LIBRARYN32_PATH $ld_library_path
setenv LD_LIBRARY64_PATH $ld_library_path setenv LD_LIBRARY64_PATH $ld_library_path
setenv LD_LIBRARY_PATH_32 $ld_library_path
setenv LD_LIBRARY_PATH_64 $ld_library_path setenv LD_LIBRARY_PATH_64 $ld_library_path
setenv DYLD_LIBRARY_PATH $ld_library_path setenv DYLD_LIBRARY_PATH $ld_library_path
} }