summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/Makefile
diff options
context:
space:
mode:
authorjonathan <jonathan@FreeBSD.org>2014-06-20 17:14:59 +0000
committerjonathan <jonathan@FreeBSD.org>2014-06-20 17:14:59 +0000
commit67c7333f6441bd61161019503af39cc3d61539b9 (patch)
tree08a9d7a51acb910a6fb5b937ac507889dd179957 /libexec/rtld-elf/Makefile
parentab3c0264998c57f6cb943e584be2ac021694102f (diff)
downloadFreeBSD-src-67c7333f6441bd61161019503af39cc3d61539b9.zip
FreeBSD-src-67c7333f6441bd61161019503af39cc3d61539b9.tar.gz
Test RTLD's new LD_LIBRARY_PATH_FDS variable.
Test LD_LIBRARY_PATH_FDS by linking a binary that requires a shared library that isn't in any of the usual search paths. Ensure this fails when we don't supply LD_LIBRARY_PATH_FDS or we pass invalid information in it. Ensure it works when we pass the correct directory in various places in the variable. Approved by: rwatson (mentor) MFC after: 3 weeks Sponsored by: DARPA/AFRL
Diffstat (limited to 'libexec/rtld-elf/Makefile')
-rw-r--r--libexec/rtld-elf/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile
index ba13778..48e86f7 100644
--- a/libexec/rtld-elf/Makefile
+++ b/libexec/rtld-elf/Makefile
@@ -80,5 +80,9 @@ beforeinstall:
NO_PIE= yes
+.if ${MK_TESTS} != "no"
+SUBDIR+= tests
+.endif
+
.include <bsd.symver.mk>
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud