[COMMITTED] tests: Add AM_LDFLAGS to dwfl_proc_attach_LDFLAGS.

Mark Wielaard mjw at redhat.com
Fri Oct 16 10:10:46 UTC 2015


We want to be sure the libelf.so under test is picked up.

Signed-off-by: Mark Wielaard <mjw at 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 at redhat.com>
+
+	* Makefile.am (dwfl_proc_attach_LDFLAGS): Add AM_LDFLAGS.
+
 2015-10-09  Josh Stone  <jistone at 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



More information about the elfutils-devel mailing list