build: Build with LD_LIBRARY_PATH, use of DT_RPATH (2/2).
* configure.ac (LDADD_FOR_TESTS_KLUDGE): New for --disable-new-dtags. * tests/Makefile.am (LDADD): Use LDADD_FOR_TESTS_KLUDGE. (t_lock_LDADD, t_poll_LDADD): Use LDADD.
- GnuPG-bug-id: T4298
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>