aboutsummaryrefslogtreecommitdiff
path: root/cddl/lib/drti/Makefile
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2011-11-28 10:01:36 +0000
committerRobert Watson <rwatson@FreeBSD.org>2011-11-28 10:01:36 +0000
commitd04fbf251afda5603d96805a6c390f0986a4c5ec (patch)
treea0570f681d9bcb59f64bcb18cd53b5f5e00d25b7 /cddl/lib/drti/Makefile
parent9c7e90ba9df631ab450cbe9ff2483883e7b38c7d (diff)
downloadsrc-d04fbf251afda5603d96805a6c390f0986a4c5ec.tar.gz
src-d04fbf251afda5603d96805a6c390f0986a4c5ec.zip
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 <samm at os2.kiev.ua> Comments by: Scott Lystig Fritchie <slfritchie at snookles.com> MFC after: 3 days
Notes
Notes: svn path=/head/; revision=228057
Diffstat (limited to 'cddl/lib/drti/Makefile')
-rw-r--r--cddl/lib/drti/Makefile2
1 files changed, 1 insertions, 1 deletions
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 <bsd.prog.mk>
+.include <bsd.lib.mk>