Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Nov 2011 10:01:36 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r228057 - head/cddl/lib/drti
Message-ID:  <201111281001.pASA1ah7084080@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111281001.pASA1ah7084080>