diff --git a/libopendkim/tests/Makefile.am b/libopendkim/tests/Makefile.am index 4817ef85..e8cb6422 100644 --- a/libopendkim/tests/Makefile.am +++ b/libopendkim/tests/Makefile.am @@ -6,6 +6,12 @@ if DEBUG AM_CFLAGS += -g endif +# Ensure that there is a rule for this _in the subdirectory_, so that +# a bare "make check" knows what to do in an empty tree. +../libopendkim.la: + $(MAKE) -C ../ libopendkim.la + + LDADD = ../libopendkim.la $(COV_LIBADD) $(LIBCRYPTO_LIBS) $(LIBRESOLV) AM_CPPFLAGS = -I..