c++ dyn lib for android

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

@ -201,6 +201,7 @@ fn build_rocksdb() {
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("OPENSSL_NO_STDIO", None);
config.define("ANDROID_STL", "c++_shared");
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