From 9db1aff070b338a515143edde9b8eb3f3e12a886 Mon Sep 17 00:00:00 2001 From: Bart House Date: Tue, 15 Dec 2020 00:46:55 -0800 Subject: [PATCH] Use LUASRC variable when generating nhlua.h. --- sys/winnt/Makefile.gcc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/winnt/Makefile.gcc b/sys/winnt/Makefile.gcc index e44851950..0ff95de64 100644 --- a/sys/winnt/Makefile.gcc +++ b/sys/winnt/Makefile.gcc @@ -833,10 +833,10 @@ $(O)utility.tag: $(INCL)/date.h $(INCL)/onames.h $(INCL)/pm.h \ $(INCL)/nhlua.h: echo /* nhlua.h - generated by top Makefile */ > $@ - @echo #include "../lib/lua-$(LUA_VERSION)/src/lua.h" >> $@ + @echo #include "$(LUASRC)/lua.h" >> $@ @echo LUA_API int (lua_error) (lua_State *L) NORETURN; >>$@ - @echo #include "../lib/lua-$(LUA_VERSION)/src/lualib.h" >> $@ - @echo #include "../lib/lua-$(LUA_VERSION)/src/lauxlib.h" >> $@ + @echo #include "$(LUASRC)/lualib.h" >> $@ + @echo #include "$(LUASRC)/lauxlib.h" >> $@ @echo /*nhlua.h*/ >> $@ tileutil: $(U)gif2txt.exe $(U)gif2tx32.exe $(U)txt2ppm.exe