mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 02:47:37 +02:00
Fixed DTrace bug where probes_mysql_nodtrace.h wasn't properly
created in the case when DTrace wasn't defined.
This commit is contained in:
parent
b9e0d8c450
commit
81f55219c2
1 changed files with 3 additions and 3 deletions
|
|
@ -69,17 +69,17 @@ my_config.h: config.h
|
|||
dist-hook:
|
||||
$(RM) -f $(distdir)/mysql_version.h $(distdir)/my_config.h
|
||||
|
||||
DTRACEPROVIDER = $(abs_top_srcdir)/sql/probes_mysql.d
|
||||
if HAVE_DTRACE
|
||||
BUILT_SOURCES += probes_mysql_dtrace.h
|
||||
CLEANFILES += probes_mysql_dtrace.h
|
||||
DTRACEPROVIDER = $(abs_top_srcdir)/sql/probes_mysql.d
|
||||
|
||||
probes_mysql_dtrace.h: $(DTRACEPROVIDER)
|
||||
$(DTRACE) $(DTRACEFLAGS) -h -s $< -o $@
|
||||
$(DTRACE) $(DTRACEFLAGS) -h -s $(DTRACEPROVIDER) -o $@
|
||||
endif
|
||||
|
||||
probes_mysql_nodtrace.h: $(DTRACEPROVIDER)
|
||||
$(abs_top_srcdir)/scripts/dheadgen.pl -f $^ > $@
|
||||
$(abs_top_srcdir)/scripts/dheadgen.pl -f $(DTRACEPROVIDER) > $@
|
||||
|
||||
# Don't update the files from bitkeeper
|
||||
%::SCCS/s.%
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue