Cross-compile build fixes

recover was not being built correctly under cross compilation
This commit is contained in:
nhmall
2024-12-01 13:24:30 -05:00
parent dda5d03d91
commit 8b08244c9b
4 changed files with 53 additions and 17 deletions

View File

@@ -118,6 +118,8 @@ DAT = $(DATNODLB) $(DATDLB)
# $(CHGRP) $(GAMEGRP) $(INSTDIR)/sysconf && \
# chmod $(VARFILEPERM) $(INSTDIR)/sysconf; fi );
RECOVERBIN = recover
# Lua
LUAHEADERS = lib/lua-$(LUA_VERSION)/src
LUATESTTARGET = $(LUAHEADERS)/lua.h
@@ -283,7 +285,7 @@ package: $(GAME) recover $(VARDAT) spec_levs
# recover can be used when INSURANCE is defined in include/config.h
# and the checkpoint option is true
recover: $(GAME)
( cd util ; $(MAKE) recover )
( cd util ; $(MAKE) $(RECOVERBIN) )
dofiles:
target=`sed -n \