commit - ce35e7331aa32562e8b257ee89084a3b411b5f30
commit + e7ae8fa0ff68290bf542ce584771be3c8b27ad01
blob - 2fcccf6a21115b24762219a209c7e1ec0a13004e
blob + 99a6439675d13748503e7c3b7587c40b001bc369
--- link.mk
+++ link.mk
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#
-# Native libs required by consumers that vendor http.rs. Read by
+# Build-time metadata for consumers that vendor http.rs. Read by
# marmita(1) on `add`/`update` and copied to vendor/<stem>.mk so the
# consumer's Makefile can pick it up via -include $(wildcard vendor/*.mk).
+#
+# LINK_FLAGS: native libs added to the bin link step.
+# BUILD_ENV: env vars exported when compiling vendor/http.rs as rlib
+# (http.rs reads HTTP_VERSION via env! at compile time).
LINK_FLAGS += -ltls -lcrypto
+BUILD_ENV += HTTP_VERSION=$(VERSION)