From 72c09f3b233547deb70161847bd60058d07ed5b5 Mon Sep 17 00:00:00 2001 From: Niko PLP Date: Mon, 14 Aug 2023 17:50:13 +0300 Subject: [PATCH] fix for android openssl --- librocksdb-sys/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/librocksdb-sys/build.rs b/librocksdb-sys/build.rs index 28867bb..f96458a 100644 --- a/librocksdb-sys/build.rs +++ b/librocksdb-sys/build.rs @@ -200,6 +200,7 @@ fn build_rocksdb() { config.define("OS_ANDROID", None); config.define("ROCKSDB_PLATFORM_POSIX", None); config.define("ROCKSDB_LIB_IO_POSIX", None); + config.define("OPENSSL_NO_STDIO", None); config.define("_REENTRANT", None); config.flag("-fno-builtin-memcmp"); } else if target.contains("linux") {