[internal] Tweak build system to better support unit tests in Zig

This commit is contained in:
Jarred Sumner
2021-10-24 06:18:42 -07:00
parent 1f7af3754d
commit 449c8b5f36
11 changed files with 146 additions and 19 deletions

View File

@@ -703,7 +703,7 @@ build-unit:
-femit-bin=zig-out/bin/$(testname) \
-fcompiler-rt \
-lc -lc++ \
--cache-dir /tmp/zig-cache-bun-$(testname)-$(basename $(firstword $(testfilter))) \
--cache-dir /tmp/zig-cache-bun-$(testname)-$(basename $(lastword $(testfilter))) \
-fallow-shlib-undefined \
-L$(LIBCRYPTO_PREFIX_DIR)/lib \
-lcrypto -lssl \