Correct the way that libelf is linked when USDT is used.
This commit is contained in:
parent
41c16f32c1
commit
721dae3a52
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=272346
@ -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*/*}
|
||||
|
Loading…
Reference in New Issue
Block a user