Skip to content

Commit 153706d

Browse files
committed
fix: bug where tensorflow cobbles libssl, causing segfaults
Fix outlined here: tensorflow#417 As noted in the issue report, this does not fix unit tests.
1 parent 1ddf5a3 commit 153706d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tensorflow-sys/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ fn main() {
4242
#[cfg(feature = "runtime_linking")]
4343
return;
4444

45+
println!("cargo:rustc-link-lib=dylib=ssl");
46+
println!("cargo:rustc-link-lib=dylib=crypto");
47+
4548
// DO NOT RELY ON THIS
4649
if cfg!(feature = "private-docs-rs") {
4750
log!("Returning early because private-docs-rs feature was enabled");

0 commit comments

Comments
 (0)