Commit 6f5cae43 authored by lenz@mysql.com's avatar lenz@mysql.com

- added $(EXEEXT) to gen_lex_hash generation/execution to fix a build

   problem on Windows/cygwin (BUG#668)
parent beef0bf0
...@@ -114,8 +114,8 @@ sql_yacc.o: sql_yacc.cc sql_yacc.h ...@@ -114,8 +114,8 @@ sql_yacc.o: sql_yacc.cc sql_yacc.h
$(CXXCOMPILE) $(LM_CFLAGS) -c $< $(CXXCOMPILE) $(LM_CFLAGS) -c $<
lex_hash.h: lex.h gen_lex_hash.cc sql_yacc.h lex_hash.h: lex.h gen_lex_hash.cc sql_yacc.h
$(MAKE) gen_lex_hash $(MAKE) gen_lex_hash$(EXEEXT)
./gen_lex_hash > $@ ./gen_lex_hash$(EXEEXT) > $@
# Hack to ensure that lex_hash.h is built early # Hack to ensure that lex_hash.h is built early
sql_lex.o: lex_hash.h sql_lex.o: lex_hash.h
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment