From 54ede0b9816b34ffcf5e93f8283ecb61d50356dd Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 11 Sep 2009 15:51:50 +0000 Subject: [PATCH] Test: fix Makefile.am to work with 'out of source' build directory * tests/Makefile.am: rpath must refer to the build directory, not the source directory. --- tests/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index c6922c2c..0962c0a4 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -16,19 +16,19 @@ tests_LDADD = \ $(top_builddir)/lasso/liblasso.la \ $(LASSO_LIBS) \ $(CHECK_LIBS) -tests_LDFLAGS = -rpath `cd $(top_srcdir)/lasso/.libs/; pwd` +tests_LDFLAGS = -rpath `cd $(top_builddir)/lasso/.libs/; pwd` tests2_SOURCES = tests2.c tests2_LDADD = \ $(top_builddir)/lasso/liblasso.la \ $(LASSO_LIBS) \ $(CHECK_LIBS) -tests2_LDFLAGS = -rpath `cd $(top_srcdir)/lasso/.libs/; pwd` +tests2_LDFLAGS = -rpath `cd $(top_builddir)/lasso/.libs/; pwd` tests2_CFLAGS = -DSRCDIR=\"$(srcdir)\" perfs_SOURCES = perfs.c perfs_LDADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS) -perfs_LDFLAGS = -rpath `cd $(top_srcdir)/lasso/.libs/; pwd` +perfs_LDFLAGS = -rpath `cd $(top_builddir)/lasso/.libs/; pwd` endif