summaryrefslogtreecommitdiff
path: root/recipes/mysql/files/gen_lex_hash.patch
blob: c398d048dce9f5e3c01072c85ae04ba1abf759ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

#
# Patch managed by http://www.holgerschurig.de/patcher.html
#

--- mysql-4.1.15/sql/Makefile.am~gen_lexhash
+++ mysql-4.1.15/sql/Makefile.am
@@ -137,8 +137,10 @@
 		@echo "If it fails, re-run configure with --with-low-memory"
 		$(CXXCOMPILE) $(LM_CFLAGS) -c $<
 
+GEN_LEX_HASH = ./gen_lex_hash$(EXEEXT)
+
 lex_hash.h:	gen_lex_hash$(EXEEXT)
-		./gen_lex_hash$(EXEEXT) > $@
+		$(GEN_LEX_HASH) > $@
 
 # For testing of udf_example.so;  Works on platforms with gcc
 # (This is not part of our build process but only provided as an example)