build: With LD_LIBRARY_PATH defined, use --disable-new-dtags.

Authored by gniibe on Jan 15 2019, 8:14 AM.

Description

build: With LD_LIBRARY_PATH defined, use --disable-new-dtags.

* configure.ac (LDADD_FOR_TESTS_KLUDGE): New for --disable-new-dtags.
* tests/Makefile.am (LDADD, t_lock_LDADD): Use LDADD_FOR_TESTS_KLUDGE.
  • GnuPG-bug-id: T4298
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>