aboutsummaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authorAndreas Tobler <a.tobler@schweiz.ch>2004-01-12 21:49:14 +0100
committerAndreas Tobler <andreast@gcc.gnu.org>2004-01-12 21:49:14 +0100
commit7b2e3e60a6ea006abd787c02d47ad7b2cf88170e (patch)
treec88e555a2c66bc4a19ca78a961eea1bc97924a28 /libffi
parentc91de77a9d108d710d5de3dc8a1cf8df014a5f60 (diff)
downloadgcc-7b2e3e60a6ea006abd787c02d47ad7b2cf88170e.zip
gcc-7b2e3e60a6ea006abd787c02d47ad7b2cf88170e.tar.gz
gcc-7b2e3e60a6ea006abd787c02d47ad7b2cf88170e.tar.bz2
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
Diffstat (limited to 'libffi')
-rw-r--r--libffi/ChangeLog5
-rw-r--r--libffi/testsuite/lib/libffi-dg.exp7
2 files changed, 10 insertions, 2 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog
index 084d626..2b7baf9 100644
--- a/libffi/ChangeLog
+++ b/libffi/ChangeLog
@@ -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>
* testsuite/libffi.call/ffitest.h (allocate_mmap): Cast MAP_FAILED
diff --git a/libffi/testsuite/lib/libffi-dg.exp b/libffi/testsuite/lib/libffi-dg.exp
index 95d09c1..f7dd5fd 100644
--- a/libffi/testsuite/lib/libffi-dg.exp
+++ b/libffi/testsuite/lib/libffi-dg.exp
@@ -129,12 +129,15 @@ proc libffi-init { args } {
# 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
# 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
- # this on IRIX, but it shouldn't hurt to do it anywhere else.
+ # proper, so we do it here.
+ # 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 SHLIB_PATH $ld_library_path
setenv LD_LIBRARYN32_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 DYLD_LIBRARY_PATH $ld_library_path
}