fixup! build: Build easyanticheat bridge when present.

This commit is contained in:
Derek Lesho 2022-02-16 15:47:32 -05:00 committed by Arkadiusz Hiler
parent 82b5301d55
commit 33c77c5687

View File

@ -943,8 +943,10 @@ $(OBJ)/.eac-build64:
env $(EAC_ENV64) \
$(MAKE) -C "$(EAC_OBJ64)" WINE_OBJ="$(WINE_OBJ64)" HOST="x86_64-w64-mingw32" CROSSCXX="x86_64-w64-mingw32-g++" BIT="64"
mkdir -p $(OBJ)/dist-eac/v2/lib64
cp $(EAC_OBJ64)/easyanticheat.dll $(OBJ)/dist-eac/v2/lib64/easyanticheat_x64.dll
cp $(EAC_OBJ64)/easyanticheat.so $(OBJ)/dist-eac/v2/lib64/easyanticheat_x64.so
$(call install-strip,$(EAC_OBJ64)/easyanticheat.so,$(OBJ)/dist-eac/v2/lib64)
$(call install-strip,$(EAC_OBJ64)/easyanticheat.dll,$(OBJ)/dist-eac/v2/lib64)
cp $(OBJ)/dist-eac/v2/lib64/easyanticheat.so $(OBJ)/dist-eac/v2/lib64/easyanticheat_x64.so
cp $(OBJ)/dist-eac/v2/lib64/easyanticheat.dll $(OBJ)/dist-eac/v2/lib64/easyanticheat_x64.dll
touch $@
$(OBJ)/.eac-build32:
@ -953,8 +955,10 @@ $(OBJ)/.eac-build32:
env $(EAC_ENV32) \
$(MAKE) -C "$(EAC_OBJ32)" WINE_OBJ="$(WINE_OBJ32)" HOST="i686-w64-mingw32" CROSSCXX="i686-w64-mingw32-g++" BIT="32"
mkdir -p $(OBJ)/dist-eac/v2/lib32
cp $(EAC_OBJ32)/easyanticheat.dll $(OBJ)/dist-eac/v2/lib32/easyanticheat_x86.dll
cp $(EAC_OBJ32)/easyanticheat.so $(OBJ)/dist-eac/v2/lib32/easyanticheat_x86.so
$(call install-strip,$(EAC_OBJ32)/easyanticheat.so,$(OBJ)/dist-eac/v2/lib32)
$(call install-strip,$(EAC_OBJ32)/easyanticheat.dll,$(OBJ)/dist-eac/v2/lib32)
mv $(OBJ)/dist-eac/v2/lib32/easyanticheat.so $(OBJ)/dist-eac/v2/lib32/easyanticheat_x86.so
mv $(OBJ)/dist-eac/v2/lib32/easyanticheat.dll $(OBJ)/dist-eac/v2/lib32/easyanticheat_x86.dll
touch $@
endif