diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ChangeLog | 5 | ||||
| -rw-r--r-- | tests/Makefile.am | 8 |
2 files changed, 11 insertions, 2 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index d5926489..25474b06 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +2005-08-06 Ulrich Drepper <[email protected]> + + * Makefile.am: Link with statis libs if BUILD_STATIC. + (dwflmodtest_LDADD): Also link with -ldl. + 2005-08-02 Ulrich Drepper <[email protected]> * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS. diff --git a/tests/Makefile.am b/tests/Makefile.am index 07b87e0e..c0c23c09 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -64,10 +64,14 @@ EXTRA_DIST = run-arextract.sh run-arsymtest.sh \ testfile18.bz2 if MUDFLAP +static_build=yes +libmudflap = -lmudflap +endif + +if BUILD_STATIC libdw = ../libdw/libdw.a libelf = ../libelf/libelf.a libasm = ../libasm/libasm.a -libmudflap = -lmudflap else libdw = ../libdw/libdw.so libelf = ../libelf/libelf.so @@ -110,6 +114,6 @@ asm_tst6_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl asm_tst7_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl asm_tst8_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl asm_tst9_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl -dwflmodtest_LDADD = $(libdw) $(libebl) $(libelf) $(libmudflap) +dwflmodtest_LDADD = $(libdw) $(libebl) $(libelf) $(libmudflap) -ldl CLEANFILES = xxx |
