aboutsummaryrefslogtreecommitdiff
path: root/binutils/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/Makefile.in')
-rw-r--r--binutils/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index 454f1f6..c875c9a 100644
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -58,6 +58,7 @@ CC = @CC@
CFLAGS = @CFLAGS@
LDFLAGS = @LDFLAGS@
HLDFLAGS = @HLDFLAGS@
+RPATH_ENVVAR = @RPATH_ENVVAR@
MAKEINFO = makeinfo
TEXI2DVI = texi2dvi
RANLIB = ranlib
@@ -229,8 +230,8 @@ check: site.exp
r=`pwd`; export r ; \
srcroot=`cd ${srcdir}; pwd` ; export srcroot ; \
EXPECT=${EXPECT} ; export EXPECT ; \
- LD_LIBRARY_PATH=$$r/../bfd:$$r/../opcodes:$$LD_LIBRARY_PATH; \
- export LD_LIBRARY_PATH; \
+ $(RPATH_ENVVAR)=$$r/../bfd:$$r/../opcodes:$$$(RPATH_ENVVAR); \
+ export $(RPATH_ENVVAR); \
if [ -f $$r/../expect/expect ] ; then \
TCL_LIBRARY=$${srcroot}/../tcl/library ; \
export TCL_LIBRARY ; else true; fi ; \