summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2015-10-16 12:06:34 +0200
committerMark Wielaard <mjw@redhat.com>2015-10-16 12:06:38 +0200
commit9bcd3cbdbc66d94d2c0f53f100ecca3f0cf1df33 (patch)
tree86abc51148cadfa8b6e5247d3e0536a923ed9e3c
parentd11eea4add865ebada5f79c8400abfbb48938b8c (diff)
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>
-rw-r--r--tests/ChangeLog4
-rw-r--r--tests/Makefile.am2
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 11515501..1913fbbb 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 5612fc7b..e04707cd 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)