summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoland McGrath <[email protected]>2006-03-09 23:05:47 +0000
committerRoland McGrath <[email protected]>2006-03-09 23:05:47 +0000
commitdd7e22b4a0e47dfab08a14e7fa9bd1fa8b1a968c (patch)
treedf330ff6aeba8e2435583f9a5770e7ef675b9b1d /tests
parent060fa05452f821a1c2e15b6a9ad1a4427e3fdd64 (diff)
src/
2006-03-09 Roland McGrath <[email protected]> * Makefile.am (AM_LDFLAGS): New variable. tests/ 2006-03-09 Roland McGrath <[email protected]> * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
Diffstat (limited to 'tests')
-rw-r--r--tests/ChangeLog4
-rw-r--r--tests/Makefile.am5
2 files changed, 8 insertions, 1 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 67a8ad64..bccd736c 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,7 @@
+2006-03-09 Roland McGrath <[email protected]>
+
+ * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
+
2006-03-01 Roland McGrath <[email protected]>
* show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
diff --git a/tests/Makefile.am b/tests/Makefile.am
index d121dea6..92881094 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -23,15 +23,18 @@ AM_CFLAGS = -Wall -Werror -Wextra -std=gnu99 \
BUILT_RPATH = \$$ORIGIN/../libasm:\$$ORIGIN/../libdw:\$$ORIGIN/../backends:\$$ORIGIN/../libelf
endif
+AM_LDFLAGS =
+
if !STANDALONE
INCLUDES = -I$(top_srcdir)/libasm -I$(top_srcdir)/libdw \
-I$(top_srcdir)/libdwfl \
-I$(top_srcdir)/libebl -I$(top_srcdir)/libelf \
-I$(top_srcdir)/lib -I..
+AM_LDFLAGS += -Wl,-rpath-link,../libasm:../libdw:../libelf
endif !STANDALONE
if TESTS_RPATH
-AM_LDFLAGS = -Wl,-rpath,$(BUILT_RPATH)
+AM_LDFLAGS += -Wl,-rpath,$(BUILT_RPATH)
tests_rpath = yes
else
tests_rpath = no