diff options
author | unknown <monty@hundin.mysql.fi> | 2001-08-30 12:51:58 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-08-30 12:51:58 +0300 |
commit | a054969476bfcb14f268110274d7dcf48314e8a7 (patch) | |
tree | ddcf47ef4c513fcbe83225a56f1fcbfeecd37950 /client | |
parent | 0fbb50b597aaf19c68edb9357f58d7a074f036cc (diff) | |
download | mariadb-git-a054969476bfcb14f268110274d7dcf48314e8a7.tar.gz |
Portability fix
Diffstat (limited to 'client')
-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) $< |