From 36370f2deadd245277803205e47716ea3a07ab2b Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Wed, 26 Mar 2025 18:48:49 -0400 Subject: [PATCH] build: Fix this dependendy test. --- GNUmakefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index e9f77d25..072787e0 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1162,7 +1162,13 @@ out/zsign_build/zsign: $(wildcard deps/zsign/*.cpp deps/zsign/*.h deps/zsign/*.t @cmake -B out/zsign_build deps/zsign @cmake --build out/zsign_build -- COLOR=0 VERBOSE=0 MAKESILENT=-s -out/tildefriends-%.app/tildefriends: out/%/tildefriends out/tildefriends-%.app/Info.plist out/tildefriends-%.app/tildefriends.png out/data.zip $(if $(HAVE_LINUX_IOS),out/zsign_build/zsign) +ifeq ($(HAVE_LINUX_IOS),1) +ZSIGN_DEP = out/zsign_build/zsign +else +ZSIGN_DEP = +endif + +out/tildefriends-%.app/tildefriends: out/%/tildefriends out/tildefriends-%.app/Info.plist out/tildefriends-%.app/tildefriends.png out/data.zip $(ZSIGN_DEP) @mkdir -p $(dir $@) @cp -v $(filter-out out/zsign%,$<) $@ @cp -v out/data.zip $(@D)/