aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/libiconv/Makefile
diff options
context:
space:
mode:
authorLukas Rusak <lorusak@gmail.com>2022-12-29 19:27:42 -0800
committerLukas Rusak <lorusak@gmail.com>2022-12-29 19:27:50 -0800
commit25d1e4792aa834128d7b959730fe6c0c3fd5e98d (patch)
tree2096b4fe51b11ff59243cb3de02df84f826ee07e /tools/depends/target/libiconv/Makefile
parent077c7888fc58c05f27f061e306068cacb95843d2 (diff)
tools/depends: make the hash file an order only prerequisite
this fixes an issue when rebuilding the dependencies that if a target is already built it doesn't get rebuilt ref: https://www.gnu.org/software/make/manual/html_node/Prerequisite-Types.html
Diffstat (limited to 'tools/depends/target/libiconv/Makefile')
-rw-r--r--tools/depends/target/libiconv/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/depends/target/libiconv/Makefile b/tools/depends/target/libiconv/Makefile
index 8782e51a78..7a7a981ef6 100644
--- a/tools/depends/target/libiconv/Makefile
+++ b/tools/depends/target/libiconv/Makefile
@@ -19,7 +19,7 @@ LIBDYLIB=$(PLATFORM)/lib/.libs/$(LIBNAME).a
all: .installed-$(PLATFORM)
-$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) $(DEPS)
+$(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE)
rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)
cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
cd $(PLATFORM); $(CONFIGURE)