tests: Add AM_LDFLAGS to dwfl_proc_attach_LDFLAGS.
authorMark Wielaard <mjw@redhat.com>
Fri, 16 Oct 2015 10:06:34 +0000 (12:06 +0200)
committerMark Wielaard <mjw@redhat.com>
Fri, 16 Oct 2015 10:06:38 +0000 (12:06 +0200)
We want to be sure the libelf.so under test is picked up.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
tests/ChangeLog
tests/Makefile.am

index 1151550..1913fbb 100644 (file)
@@ -1,3 +1,7 @@
+2015-10-16  Mark Wielaard  <mjw@redhat.com>
+
+       * Makefile.am (dwfl_proc_attach_LDFLAGS): Add AM_LDFLAGS.
+
 2015-10-09  Josh Stone  <jistone@redhat.com>
 
        * lfs-symbols: New list of LFS-related symbols from lintian.
index 5612fc7..e04707c 100644 (file)
@@ -450,7 +450,7 @@ strptr_LDADD = $(libelf)
 newdata_LDADD = $(libelf)
 elfstrtab_LDADD = $(libelf)
 dwfl_proc_attach_LDADD = $(libdw)
-dwfl_proc_attach_LDFLAGS = -pthread
+dwfl_proc_attach_LDFLAGS = -pthread $(AM_LDFLAGS)
 elfshphehdr_LDADD =$(libelf)
 elfstrmerge_LDADD = $(libebl) $(libelf)