commit 69150521f8d3e0d172c07edb265fe09914444f9e parent 1682bebc05108932a716487458ba23e95472731c Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Date: Tue, 5 Jul 2022 06:20:49 +0200 stdlib: Fix format::tar dependencies Diffstat:
M | scripts/gen-stdlib | | | 2 | +- |
M | stdlib.mk | | | 4 | ++-- |
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/gen-stdlib b/scripts/gen-stdlib @@ -625,7 +625,7 @@ format_tar() { gen_srcs format::tar \ types.ha \ reader.ha - gen_ssa format::tar + gen_ssa format::tar bufio bytes endian errors io strconv strings strio } fs() { diff --git a/stdlib.mk b/stdlib.mk @@ -1189,7 +1189,7 @@ stdlib_format_tar_any_srcs = \ $(STDLIB)/format/tar/types.ha \ $(STDLIB)/format/tar/reader.ha -$(HARECACHE)/format/tar/format_tar-any.ssa: $(stdlib_format_tar_any_srcs) $(stdlib_rt) +$(HARECACHE)/format/tar/format_tar-any.ssa: $(stdlib_format_tar_any_srcs) $(stdlib_rt) $(stdlib_bufio_$(PLATFORM)) $(stdlib_bytes_$(PLATFORM)) $(stdlib_endian_$(PLATFORM)) $(stdlib_errors_$(PLATFORM)) $(stdlib_io_$(PLATFORM)) $(stdlib_strconv_$(PLATFORM)) $(stdlib_strings_$(PLATFORM)) $(stdlib_strio_$(PLATFORM)) @printf 'HAREC \t$@\n' @mkdir -p $(HARECACHE)/format/tar @HARECACHE=$(HARECACHE) $(HAREC) $(HAREFLAGS) -o $@ -Nformat::tar \ @@ -3352,7 +3352,7 @@ testlib_format_tar_any_srcs = \ $(STDLIB)/format/tar/types.ha \ $(STDLIB)/format/tar/reader.ha -$(TESTCACHE)/format/tar/format_tar-any.ssa: $(testlib_format_tar_any_srcs) $(testlib_rt) +$(TESTCACHE)/format/tar/format_tar-any.ssa: $(testlib_format_tar_any_srcs) $(testlib_rt) $(testlib_bufio_$(PLATFORM)) $(testlib_bytes_$(PLATFORM)) $(testlib_endian_$(PLATFORM)) $(testlib_errors_$(PLATFORM)) $(testlib_io_$(PLATFORM)) $(testlib_strconv_$(PLATFORM)) $(testlib_strings_$(PLATFORM)) $(testlib_strio_$(PLATFORM)) @printf 'HAREC \t$@\n' @mkdir -p $(TESTCACHE)/format/tar @HARECACHE=$(TESTCACHE) $(HAREC) $(TESTHAREFLAGS) -o $@ -Nformat::tar \