Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ValveSoftware/Proton.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Lesho <dlesho@codeweavers.com>2022-02-16 23:47:32 +0300
committerArkadiusz Hiler <ahiler@codeweavers.com>2022-02-25 14:52:40 +0300
commit33c77c568732319adf0877b4d932a23d6ec003fb (patch)
treec62ba5c689995b70aa7977bfd693c01b96a8828d /Makefile.in
parent82b5301d551d5ddedbd858bc33f7a9ee960cbf6b (diff)
fixup! build: Build easyanticheat bridge when present.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in
index 52528f55..58d13907 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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