Add _ssl support on host linux and darwin
Bug: 173151817
Change-Id: I453e6ca34e464f4d387897047e369a2a1d042a19
diff --git a/Android.bp b/Android.bp
index 365351b..f841dc9 100644
--- a/Android.bp
+++ b/Android.bp
@@ -305,6 +305,10 @@
target: {
linux_glibc_x86_64: {
host_ldlibs: ["-lutil"],
+ static_libs: [
+ "libopenssl_ssl",
+ "libopenssl_crypto",
+ ],
},
linux: {
// Due to test infra limitations, Python native symbols are linked
@@ -318,6 +322,10 @@
"-framework SystemConfiguration",
"-framework CoreFoundation",
],
+ static_libs: [
+ "libopenssl_ssl",
+ "libopenssl_crypto",
+ ],
},
host: {
static_libs: [
@@ -417,9 +425,17 @@
},
linux_glibc_x86_64: {
srcs: [":py3-c-modules-linux_x86_64"],
+ static_libs: [
+ "libopenssl_ssl",
+ "libopenssl_crypto",
+ ],
},
darwin: {
srcs: [":py3-c-modules-darwin_x86_64"],
+ static_libs: [
+ "libopenssl_ssl",
+ "libopenssl_crypto",
+ ],
},
},
}