diff options
author | markj <markj@FreeBSD.org> | 2014-10-01 04:28:39 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2014-10-01 04:28:39 +0000 |
commit | 39a5d322fa85f13ca90cfb24d92061f010447b48 (patch) | |
tree | 355ca94943410873a2b65d40849b9599d8702181 /share | |
parent | adb942eaa997b39794ef6e40fbcbace3e33c2bf7 (diff) | |
download | FreeBSD-src-39a5d322fa85f13ca90cfb24d92061f010447b48.zip FreeBSD-src-39a5d322fa85f13ca90cfb24d92061f010447b48.tar.gz |
Correct the way that libelf is linked when USDT is used.
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.dep.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk index 5ce2fa4..afc8ecb 100644 --- a/share/mk/bsd.dep.mk +++ b/share/mk/bsd.dep.mk @@ -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*/*} |