Commit 85fe710b authored by monty@hundin.mysql.fi's avatar monty@hundin.mysql.fi
Browse files

Portability fix

parent 1dba0d70
Loading
Loading
Loading
Loading
+3 −8
Original line number Diff line number Diff line
@@ -40,19 +40,14 @@ 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; \
	  rm -f $(srcdir)/$$f; \
	  @LN_CP_F@ $(top_srcdir)/sql/$$f $(srcdir)/$$f; \
        done;

thread_test.o:		thread_test.c