From d04fbf251afda5603d96805a6c390f0986a4c5ec Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Mon, 28 Nov 2011 10:01:36 +0000 Subject: [PATCH] Change the Makefile in cddl/lib/drti to use bsd.lib.mk instead of bsd.prog.mk -- we need to compile PIC, which requires a library build. With this change, USDT (userspace DTrace probes) work from within shared libraries. PR: kern/159046 Submitted by: Alex Samorukov Comments by: Scott Lystig Fritchie MFC after: 3 days --- cddl/lib/drti/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cddl/lib/drti/Makefile b/cddl/lib/drti/Makefile index ccc9aa926283..6e3d3a61a41d 100644 --- a/cddl/lib/drti/Makefile +++ b/cddl/lib/drti/Makefile @@ -18,4 +18,4 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \ -I${OPENSOLARIS_SYS_DISTDIR}/uts/common \ -DPIC ${PICFLAG} -.include +.include