diff options
Diffstat (limited to 'client/Makefile.am')
-rw-r--r-- | client/Makefile.am | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/client/Makefile.am b/client/Makefile.am index c05f6a396dc..a91c7d05f77 100644 --- a/client/Makefile.am +++ b/client/Makefile.am @@ -40,20 +40,15 @@ mysqltest_DEPENDENCIES= $(LIBRARIES) $(pkglib_LTLIBRARIES) mysqlbinlog_SOURCES = mysqlbinlog.cc mysqlbinlog_DEPENDENCIES= $(LIBRARIES) $(pkglib_LTLIBRARIES) sql_src=log_event.h log_event.cc -mysys_src=mysys_priv.h # Fix for mit-threads DEFS = -DUNDEF_THREADS_HACK link_sources: for f in $(sql_src) ; do \ - rm -f $$f; \ - @LN_CP_F@ ../sql/$$f $$f; \ - done; \ - for f in $(mysys_src); do \ - rm -f $$f; \ - @LN_CP_F@ ../mysys/$$f $$f; \ - done; + rm -f $(srcdir)/$$f; \ + @LN_CP_F@ $(top_srcdir)/sql/$$f $(srcdir)/$$f; \ + done; thread_test.o: thread_test.c $(COMPILE) -c @MT_INCLUDES@ $(INCLUDES) $< |