summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2010-06-22 16:06:38 -0400
committerHenrik Rydberg <rydberg@euromail.se>2010-06-22 22:09:55 +0200
commit451dbad007dc941fb7a4877238873d13245c0a65 (patch)
tree02b6f3dce4218e96b9029fad41b50c1c37954828 /test
parentd29155e8436e084d925fc3ed5bb1fce94bc69949 (diff)
downloadmtdev-git-451dbad007dc941fb7a4877238873d13245c0a65.tar.gz
Search for libmtdev in src/ directory during a clean build
If mtdev hasn't already been installed, the test binaries will fail to compile because they can't find libmtdev. Point them to the src directory build output. Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 532540d..5e5bde5 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -7,6 +7,6 @@ INCLUDES=-I$(top_srcdir)/include/
mtdev_mapgen_SOURCES = mtdev-mapgen.c
mtdev_SOURCES = mtdev.c
-mtdev_LDFLAGS = -lmtdev
+mtdev_LDFLAGS = -lmtdev -L$(top_srcdir)/src/.libs/
endif