Date: Wed, 1 Oct 2014 04:28:40 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r272346 - head/share/mk Message-ID: <201410010428.s914SetH031692@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Wed Oct 1 04:28:39 2014 New Revision: 272346 URL: https://svnweb.freebsd.org/changeset/base/272346 Log: Correct the way that libelf is linked when USDT is used. Modified: head/share/mk/bsd.dep.mk Modified: head/share/mk/bsd.dep.mk ============================================================================== --- head/share/mk/bsd.dep.mk Wed Oct 1 04:12:38 2014 (r272345) +++ head/share/mk/bsd.dep.mk Wed Oct 1 04:28:39 2014 (r272346) @@ -123,8 +123,8 @@ ${_YC:R}.o: ${_YC} # DTrace probe definitions # libelf is currently needed for drti.o .if ${SRCS:M*.d} -LDFLAGS+= -lelf -LDADD+= ${LIBELF} +LDADD+= -lelf +DPADD+= ${LIBELF} CFLAGS+= -I${.OBJDIR} .endif .for _DSRC in ${SRCS:M*.d:N*/*}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410010428.s914SetH031692>