svn commit: r272346 - head/share/mk
Mark Johnston
markj at FreeBSD.org
Wed Oct 1 04:28:40 UTC 2014
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*/*}
More information about the svn-src-all
mailing list