summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-09-11 15:51:50 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-09-11 15:51:50 +0000
commit54ede0b9816b34ffcf5e93f8283ecb61d50356dd (patch)
treee250aaf3a8c691734d2c7ebbaf1d0e4821d3208c /tests
parent5ce049c970e8544ee7b2e4b02fa8a5e64ed4dd8a (diff)
downloadlasso-54ede0b9816b34ffcf5e93f8283ecb61d50356dd.tar.gz
lasso-54ede0b9816b34ffcf5e93f8283ecb61d50356dd.tar.xz
lasso-54ede0b9816b34ffcf5e93f8283ecb61d50356dd.zip
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am6
1 files 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