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.
This commit is contained in:
parent
5ce049c970
commit
54ede0b981
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue