From ea9e898bed696ca2a984aa144d70be85da3e9710 Mon Sep 17 00:00:00 2001 From: Mikael Ronstrom Date: Fri, 6 Mar 2009 16:13:11 +0100 Subject: [PATCH] Fix for fix of the DTrace make problems --- sql/Makefile.am | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sql/Makefile.am b/sql/Makefile.am index cca02ecc47a..9ffab8cba52 100644 --- a/sql/Makefile.am +++ b/sql/Makefile.am @@ -248,12 +248,12 @@ probes_all.o: probes_mysql.d $(DTRACEFILES_DEPEND) # Can't depend directly on .libs/*.o, because there is no generated rule for # that in the Makefile; it is a byproduct of *.lo probes_libndb.o: probes_mysql.d libndb_la-ha_ndbcluster.lo - if test -f .libs/libndb_la-ha_ndbcluster.o ; then - $(DTRACE) $(DTRACEFLAGS) -G -s probes_mysql.d .libs/libndb_la-ha_ndbcluster.o -o $@ - endif - if test -f libndb_la-ha_ndbcluster.o ; then - $(DTRACE) $(DTRACEFLAGS) -G -s probes_mysql.d libndb_la-ha_ndbcluster.o -o $@ - endif + if test -f .libs/libndb_la-ha_ndbcluster.o ; then \ + $(DTRACE) $(DTRACEFLAGS) -G -s probes_mysql.d .libs/libndb_la-ha_ndbcluster.o -o $@; \ + fi; \ + if test -f libndb_la-ha_ndbcluster.o ; then \ + $(DTRACE) $(DTRACEFLAGS) -G -s probes_mysql.d libndb_la-ha_ndbcluster.o -o $@; \ + fi endif