From 7b2e3e60a6ea006abd787c02d47ad7b2cf88170e Mon Sep 17 00:00:00 2001 From: Andreas Tobler Date: Mon, 12 Jan 2004 21:49:14 +0100 Subject: [PATCH] libffi-dg.exp: Set LD_LIBRARY_PATH_32 for Solaris. 2004-01-12 Andreas Tobler * testsuite/lib/libffi-dg.exp: Set LD_LIBRARY_PATH_32 for Solaris. From-SVN: r75760 --- libffi/ChangeLog | 5 +++++ libffi/testsuite/lib/libffi-dg.exp | 7 +++++-- 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 + + * testsuite/lib/libffi-dg.exp: Set LD_LIBRARY_PATH_32 for + Solaris. + 2004-01-08 Rainer Orth * 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 }