fix for android openssl

master
Niko PLP 1 year ago
parent 22e93314bf
commit 72c09f3b23
  1. 1
      librocksdb-sys/build.rs

@ -200,6 +200,7 @@ fn build_rocksdb() {
config.define("OS_ANDROID", None); config.define("OS_ANDROID", None);
config.define("ROCKSDB_PLATFORM_POSIX", None); config.define("ROCKSDB_PLATFORM_POSIX", None);
config.define("ROCKSDB_LIB_IO_POSIX", None); config.define("ROCKSDB_LIB_IO_POSIX", None);
config.define("OPENSSL_NO_STDIO", None);
config.define("_REENTRANT", None); config.define("_REENTRANT", None);
config.flag("-fno-builtin-memcmp"); config.flag("-fno-builtin-memcmp");
} else if target.contains("linux") { } else if target.contains("linux") {

Loading…
Cancel
Save