Commit graph

2 commits

Author SHA1 Message Date
Axel Gembe
d02eb3859f
Build: Reject system rocksdb if not compiled with RTTI
This makes `config.tests/rocksdb` check if the library was compiled with
USE_RTTI=1 by creating an instance of an `AssociativeMergeOperator`
derived class. When rocksdb was compiled without RTTI this should
produce

```
undefined reference to `typeinfo for rocksdb::AssociativeMergeOperator'
```

when running `qmake` in `config.log` and use the static library instead.
2021-10-28 20:30:26 +07:00
Axel Gembe
c5b9144f1f
Build: Add test for rocksdb availability and minimum version
This will use the system rocksdb if it is available and meets the
minimum version requirement, otherwise it will use the prebuilt
static library.
2020-08-26 17:56:55 +07:00