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>
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to