svn commit: r228057 - head/cddl/lib/drti

Robert Watson rwatson at FreeBSD.org
Mon Nov 28 10:01:36 UTC 2011


Author: rwatson
Date: Mon Nov 28 10:01:36 2011
New Revision: 228057
URL: http://svn.freebsd.org/changeset/base/228057

Log:
  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

Modified:
  head/cddl/lib/drti/Makefile

Modified: head/cddl/lib/drti/Makefile
==============================================================================
--- head/cddl/lib/drti/Makefile	Mon Nov 28 09:54:41 2011	(r228056)
+++ head/cddl/lib/drti/Makefile	Mon Nov 28 10:01:36 2011	(r228057)
@@ -18,4 +18,4 @@ CFLAGS+=	-I${.CURDIR}/../../../sys/cddl/
 		-I${OPENSOLARIS_SYS_DISTDIR}/uts/common \
 		-DPIC ${PICFLAG}
 
-.include <bsd.prog.mk>
+.include <bsd.lib.mk>


More information about the svn-src-all mailing list