]> granicus.if.org Git - strace/commit
tests: robustify pc.test
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 27 Feb 2015 04:09:56 +0000 (04:09 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 27 Feb 2015 04:09:56 +0000 (04:09 +0000)
commit977550de794baac058d4368682167fcbebbdf653
tree1bad13b9a18e9e5a35f822f580755086ab839347
parent599819dfd540acbceee98ac8730415952bef51de
tests: robustify pc.test

* configure.ac: Check for dladdr in -ldl.
* tests/Makefile.am (pc_LDADD): Adde $(dl_LIBS).
* tests/pc.c: Include "config.h" and <dlfcn.h>.
(main): Use dladdr to find the address to unmap.
configure.ac
tests/Makefile.am
tests/pc.c