aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorFranz Sirl <Franz.Sirl-kernel@lauterbach.com>2001-06-13 21:56:12 +0000
committerFranz Sirl <sirl@gcc.gnu.org>2001-06-13 21:56:12 +0000
commit15a7ee9ff61afa94e00eaaff194add02b56555f2 (patch)
tree4fd0e2ec83da6a94e34f146018edc135ca19a216 /gcc
parenta821898dd2737ee003f09a685063f388a810679d (diff)
downloadgcc-15a7ee9ff61afa94e00eaaff194add02b56555f2.zip
gcc-15a7ee9ff61afa94e00eaaff194add02b56555f2.tar.gz
gcc-15a7ee9ff61afa94e00eaaff194add02b56555f2.tar.bz2
objc.exp (objc_target_compile): Add ${rootme} to ld_library_path variable.
2001-06-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * lib/objc.exp (objc_target_compile): Add ${rootme} to ld_library_path variable. From-SVN: r43351
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/lib/objc.exp6
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 90e07b0..017ab7d 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
+
+ * lib/objc.exp (objc_target_compile): Add ${rootme} to ld_library_path
+ variable.
+
2001-06-12 Richard Henderson <rth@redhat.com>
* g++.old-deja/g++.other/crash27.C: Don't XFAIL.
diff --git a/gcc/testsuite/lib/objc.exp b/gcc/testsuite/lib/objc.exp
index ebe7a47..fc8fac1 100644
--- a/gcc/testsuite/lib/objc.exp
+++ b/gcc/testsuite/lib/objc.exp
@@ -1,4 +1,5 @@
-# Copyright (C) 1992, 1993, 1994, 1996, 1997, 2000 Free Software Foundation, Inc.
+# Copyright (C) 1992, 1993, 1994, 1996, 1997, 2000, 2001
+# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -113,13 +114,14 @@ proc objc_init { args } {
}
proc objc_target_compile { source dest type options } {
+ global rootme;
global tmpdir;
global gluefile wrap_flags;
global OBJC_UNDER_TEST
global TOOL_OPTIONS
global ld_library_path
- set ld_library_path "."
+ set ld_library_path ".:${rootme}"
lappend options "libs=-lobjc"
# On Solaris 2.8, we need to include libposix4 in order to get