This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
[COMMITTED] tests: Add AM_LDFLAGS to dwfl_proc_attach_LDFLAGS.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Fri, 16 Oct 2015 12:10:46 +0200
- Subject: [COMMITTED] tests: Add AM_LDFLAGS to dwfl_proc_attach_LDFLAGS.
We want to be sure the libelf.so under test is picked up.
Signed-off-by: Mark Wielaard <mjw@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@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.
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