HardenedBSD/libexec/rtld-elf/tests/target/Makefile
Kyle Evans d9c543b6b0 rtld: add a test for RTLD_DEEPBIND
This tests that with RTLD_DEEPBIND, symbols are looked up in all of the
object's needed objects before the global object.

PR:		275393
Reviewed by:	kib
Sponsored by:	NetApp, Inc.
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D42843
2023-11-30 19:26:09 -06:00

17 lines
255 B
Makefile

.include <bsd.own.mk>
PROG= target
BINDIR= ${TESTSDIR}
WARNS?= 3
CFLAGS+= -I${.CURDIR}/../libpythagoras
LDFLAGS+= -L${.OBJDIR}/../libpythagoras
DPADD+= ${.OBJDIR}/../libpythagoras/libpythagoras.a
LDADD= -lpythagoras
MAN=
.include <bsd.prog.mk>