Correct the way that libelf is linked when USDT is used.
This commit is contained in:
parent
adb942eaa9
commit
39a5d322fa
@ -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…
x
Reference in New Issue
Block a user