mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-29 04:21:26 +01:00
d9c543b6b0
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
16 lines
287 B
Makefile
16 lines
287 B
Makefile
|
|
SHLIB?= deep
|
|
SHLIB_MAJOR= 0
|
|
|
|
LIBDIR= ${TESTSBASE}/libexec/rtld-elf/rtld_deepbind
|
|
SHLIBDIR= ${TESTSBASE}/libexec/rtld-elf/rtld_deepbind
|
|
|
|
SRCS= libdeep.c
|
|
|
|
LIBVAL2= ${.OBJDIR}/../libval2
|
|
LDFLAGS+= -L${LIBVAL2} -Wl,-rpath,'$$ORIGIN'
|
|
DPADD+= -lval2
|
|
LDADD+= -lval2
|
|
|
|
.include <bsd.lib.mk>
|