Don't generate the probes.lo on macOS
The DTrace on macOS only needs header file and the dtrace command doesn't have the -G option. Skip generating the object file on macOS, so the build doesn't fail.
This commit is contained in:
@@ -14,5 +14,7 @@ probes.lo: probes.d $(DTRACE_DEPS)
|
||||
$(AM_V_DTRACE)$(LIBTOOL) --mode=compile --tag=CC $(DTRACE) -s $(srcdir)/probes.d -G -o $@ $(DTRACE_OBJS)
|
||||
|
||||
if HAVE_DTRACE
|
||||
if !HOST_MACOS
|
||||
DTRACE_LIBADD = probes.lo
|
||||
endif
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user