We want to be sure the libelf.so under test is picked up.
Signed-off-by: Mark Wielaard <mjw(a)redhat.com>
---
tests/ChangeLog | 4 ++++
tests/Makefile.am | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 1151550..1913fbb 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,7 @@
+2015-10-16 Mark Wielaard <mjw(a)redhat.com>
+
+ * Makefile.am (dwfl_proc_attach_LDFLAGS): Add AM_LDFLAGS.
+
2015-10-09 Josh Stone <jistone(a)redhat.com>
* lfs-symbols: New list of LFS-related symbols from lintian.
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 5612fc7..e04707c 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -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)
--
1.8.3.1
Show replies by date