From 380217c30d78a75f8431adb7c3380f09d697613a Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Tue, 26 Aug 2008 12:51:14 +0000 Subject: [PATCH] Add -rpath to LDFLAGS variable to use the builded lasso and not the local one. --- tests/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Makefile.am b/tests/Makefile.am index 421a4d62..d2461ca8 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -18,9 +18,11 @@ tests_LDADD = \ $(top_builddir)/lasso/liblasso.la \ $(LASSO_LIBS) \ $(CHECK_LIBS) +tests_LDFLAGS = -rpath $(top_srcdir)/lasso/.libs/ perfs_SOURCES = perfs.c perfs_LDADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS) +perfs_LDFLAGS = -rpath $(top_srcdir)/lasso/.libs/ endif