Skip to content

Commit 0245ecd

Browse files
committed
Fix the .so loading
Signed-off-by: Jonh Wendell <[email protected]>
1 parent 91c3d17 commit 0245ecd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bazel/external/openssl.BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ configure_make(
1818
args = ["-j"],
1919
out_lib_dir = "lib64",
2020
out_static_libs = ["libssl.a", "libcrypto.a"],
21-
out_shared_libs = ["libssl.so.3", "libssl.so", "libcrypto.so.3", "libcrypto.so"],
21+
out_shared_libs = ["libssl.so.3", "libcrypto.so.3"],
2222
out_include_dir = "include",
2323
visibility = ["//visibility:public"],
2424
)

bssl-compat/prefixer/prefixer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,8 +476,8 @@ void MyFrontendAction::EndSourceFileAction() {
476476
<< "#include <assert.h>" << std::endl
477477
<< "#include \"" << opt::prefix << ".h\"" << std::endl
478478
<< std::endl
479-
<< "#define LIBCRYPTO_SO \"libcrypto.so" << (m_shlibversion.size() ? "." + m_shlibversion : "") << "\"" << std::endl
480-
<< "#define LIBSSL_SO \"libssl.so" << (m_shlibversion.size() ? "." + m_shlibversion : "") << "\"" << std::endl
479+
<< "#define LIBCRYPTO_SO \"libcrypto.so.3" << (m_shlibversion.size() ? "." + m_shlibversion : "") << "\"" << std::endl
480+
<< "#define LIBSSL_SO \"libssl.so.3" << (m_shlibversion.size() ? "." + m_shlibversion : "") << "\"" << std::endl
481481
<< std::endl
482482
<< "static void *libcrypto;" << std::endl
483483
<< "static void *libssl;" << std::endl

0 commit comments

Comments
 (0)