From a832e7733f651e621960bb323b4ed0d90229f235 Mon Sep 17 00:00:00 2001 From: Lu Yufei Date: Sat, 20 Apr 2024 21:26:07 +0800 Subject: [PATCH] Update openssl.BUILD (#316) --- bazel/openssl.BUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/bazel/openssl.BUILD b/bazel/openssl.BUILD index 37442510..15210084 100644 --- a/bazel/openssl.BUILD +++ b/bazel/openssl.BUILD @@ -59,6 +59,7 @@ yacl_configure_make( }), lib_name = "openssl", lib_source = ":all_srcs", + linkopts = ["-ldl"], # Note that for Linux builds, libssl must come before libcrypto on the linker command-line. # As such, libssl must be listed before libcrypto out_static_libs = [