From 05d717744bb843356d72d0c2e1c011270ac88c1c Mon Sep 17 00:00:00 2001 From: Will Anderson Date: Thu, 7 May 2026 03:03:21 -0500 Subject: [PATCH] fix(elb): add -lssl -lcrypto to link_binary flags el_runtime.c uses OpenSSL (EVP_*, RAND_bytes) for AEAD encrypt/decrypt. elb was only linking -lcurl -lpthread -lm, missing the SSL libs. Matches the explicit flags used in ci-dev.yaml and ci-stage.yaml. --- lang/elb.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/elb.el b/lang/elb.el index e80eff5..9dcd731 100644 --- a/lang/elb.el +++ b/lang/elb.el @@ -282,7 +282,7 @@ fn link_binary(c_files: [String], out_bin: String, runtime_path: String, out_dir let i = i + 1 } let parts = native_list_append(parts, runtime_path) - let parts = native_list_append(parts, "-lcurl -lpthread -lm") + let parts = native_list_append(parts, "-lcurl -lssl -lcrypto -lpthread -lm") let parts = native_list_append(parts, "-o " + out_bin) let cmd: String = str_join(parts, " ") println(" link " + out_bin) -- 2.52.0