Sm. bug in test/Makefile.in

kaffe@kaffe.org kaffe@kaffe.org
Sat, 19 Apr 1997 22:37:45 -0600 (MDT)


Hi,

I'm using Kaffe in my research here at the Univ. of Utah, and finally
have something to contribute back to the project.  Granted, its not
much, but its a start I hope.

kaffe/test/Makefile.in doesn't set LD_LIBRARY_PATH, which isn't a
problem if you install kaffe and its libs in the default system path.
The following patch let me use kaffe and its libs from my home
directory.  It sets LD_LIBRARY_PATH just as it sets DESTDIR.

I'm not sure why LD_LIBRARY_PATH isn't copied out of the environment I
run the make in, so there may be other ways to fix this.

-Pat

--- Makefile.in	1997-04-18 12:25:42-06	1.1.1.2
+++ Makefile.in	1997-04-19 20:50:23-06
@@ -8,12 +8,16 @@
 # Written by Tim Wilkinson <tim@tjwassoc.demon.co.uk>
 
 srcdir=		@srcdir@
+prefix=		@prefix@
+exec_prefix=	@exec_prefix@
+libdir=		@libdir@
 
 all:
 
 test:
 		@echo "*** Running tests"
 		@DESTDIR=`pwd` ; export DESTDIR ;\
+		LD_LIBRARY_PATH=$(libdir)/ ; export LD_LIBRARY_PATH;\
 		cd $(srcdir)/regression ;\
 		if ./TestScript ; then \
 			echo "*** Passed" ; \