opnsense-src/libexec/rtld-elf/tests/target/Makefile
Jonathan Anderson 6b22f423cf 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
2014-06-20 17:14:59 +00:00

13 lines
221 B
Makefile

# $FreeBSD$
.include <bsd.own.mk>
PROG= target
BINDIR= ${TESTSBASE}${TESTSDIR}/libexec/rtld-elf
CFLAGS+= -I${.CURDIR}/../libpythagoras
LDADD= -L${.OBJDIR}/../libpythagoras -lpythagoras
MAN=
.include <bsd.prog.mk>