summaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-12 20:49:14 +0000
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-12 20:49:14 +0000
commitfcd85db37b8b7f441b1756b70f67124f052ecc0a (patch)
treec88e555a2c66bc4a19ca78a961eea1bc97924a28 /libffi
parentd77208d20014786c1a6e596cc597d6e2ff75c196 (diff)
downloadgcc-fcd85db37b8b7f441b1756b70f67124f052ecc0a.tar.gz
2004-01-12 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/lib/libffi-dg.exp: Set LD_LIBRARY_PATH_32 for Solaris. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75760 138bc75d-0d04-0410-961f-82ee72b054a4
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 084d6269e8c..2b7baf99a68 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 95d09c17da6..f7dd5fd97a8 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
}