commit 0c576a63ad59566370001a31ef8a793b1832162d
parent 1f4ded6f6da212bfde343846e7bf17c8501a85e7
Author: Drew DeVault <sir@cmpwn.com>
Date: Sun, 7 Feb 2021 12:12:33 -0500
stdlib: io depends on strings
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/gen-stdlib b/gen-stdlib
@@ -165,7 +165,7 @@ io() {
+test/stream.ha
fi
fi
- gen_ssa io
+ gen_ssa io strings
}
os() {
diff --git a/mk/stdlib.mk b/mk/stdlib.mk
@@ -142,7 +142,7 @@ stdlib_io_srcs= \
$(STDLIB)/io/stream.ha \
$(STDLIB)/io/limit.ha
-$(HARECACHE)/io/io.ssa: $(stdlib_io_srcs) $(stdlib_rt)
+$(HARECACHE)/io/io.ssa: $(stdlib_io_srcs) $(stdlib_rt) $(stdlib_strings)
@printf 'HAREC \t$@\n'
@mkdir -p $(HARECACHE)/io
@HARECACHE=$(HARECACHE) $(HAREC) $(HAREFLAGS) -o $@ -Nio \
@@ -355,7 +355,7 @@ testlib_io_srcs= \
$(STDLIB)/io/+test/limit.ha \
$(STDLIB)/io/+test/stream.ha
-$(TESTCACHE)/io/io.ssa: $(testlib_io_srcs) $(testlib_rt)
+$(TESTCACHE)/io/io.ssa: $(testlib_io_srcs) $(testlib_rt) $(testlib_strings)
@printf 'HAREC \t$@\n'
@mkdir -p $(TESTCACHE)/io
@HARECACHE=$(TESTCACHE) $(HAREC) $(TESTHAREFLAGS) -o $@ -Nio \