bsd.dep.mk: use the empty() function with the check for .d files.
Seems to work better with the old make. MFC after: 3 days
This commit is contained in:
parent
23e9784542
commit
04c241ea2d
@ -122,7 +122,7 @@ ${_YC:R}.o: ${_YC}
|
||||
|
||||
# DTrace probe definitions
|
||||
# libelf is currently needed for drti.o
|
||||
.if ${SRCS:M*.d}
|
||||
.if !empty(${SRCS:M*.d})
|
||||
LDFLAGS+= -lelf
|
||||
LDADD+= ${LIBELF}
|
||||
CFLAGS+= -D_DTRACE_VERSION=1 -I${.OBJDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user