summaryrefslogtreecommitdiffstats
path: root/tools/lib/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/Makefile.am')
-rw-r--r--tools/lib/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/lib/Makefile.am b/tools/lib/Makefile.am
index 0c34273..a634887 100644
--- a/tools/lib/Makefile.am
+++ b/tools/lib/Makefile.am
@@ -38,7 +38,9 @@ LIBADD=$(LIBHDF5)
TEST_PROG=talign
check_PROGRAMS=$(TEST_PROG)
-LDADD=$(LIBH5TOOLS) $(LIBHDF5)
+# Name libh5tools.la so that dependencies work out. Automake knows how
+# to build 'libh5tools.la', but not '../../tools/lib/libh5tools.la'.
+LDADD=libh5tools.la $(LIBHDF5)
include $(top_srcdir)/config/conclude.am