diff --git a/Makefile-tests.am b/Makefile-tests.am index 4bf12ce8..c8e201ba 100644 --- a/Makefile-tests.am +++ b/Makefile-tests.am @@ -222,9 +222,9 @@ EXTRA_DIST += \ tests/gpg-verify-data/trustdb.gpg \ tests/gpg-verify-data/gpg.conf -tests-libreaddir-rand-so-symlink: - ln -fns ../.libs/libreaddir-rand.so tests -ALL_LOCAL_RULES += tests-libreaddir-rand-so-symlink +tests/libreaddir-rand.so: Makefile + $(AM_V_GEN) ln -fns ../.libs/libreaddir-rand.so tests +ALL_LOCAL_RULES += tests/libreaddir-rand.so # Unfortunately the glib test data APIs don't actually handle # non-recursive Automake, so we change our code to canonically look