diff options
author | MoroccanMalinois <MoroccanMalinois@protonmail.com> | 2017-01-05 01:11:05 +0000 |
---|---|---|
committer | MoroccanMalinois <MoroccanMalinois@protonmail.com> | 2017-01-05 01:11:05 +0000 |
commit | 80abc3bc4a73f3ba6ffd40b1a03de0cc4d01e3c9 (patch) | |
tree | 5b9f6c810e59d36607590a6e736858a7d7d3bf7f /external/db_drivers/liblmdb/CMakeLists.txt | |
parent | Merge pull request #1487 (diff) | |
download | monero-80abc3bc4a73f3ba6ffd40b1a03de0cc4d01e3c9.tar.xz |
Build wallet with Android NDK
Diffstat (limited to 'external/db_drivers/liblmdb/CMakeLists.txt')
-rw-r--r-- | external/db_drivers/liblmdb/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/external/db_drivers/liblmdb/CMakeLists.txt b/external/db_drivers/liblmdb/CMakeLists.txt index 00b203e94..3d55f0eae 100644 --- a/external/db_drivers/liblmdb/CMakeLists.txt +++ b/external/db_drivers/liblmdb/CMakeLists.txt @@ -30,6 +30,11 @@ if(FREEBSD) add_definitions(-DMDB_DSYNC=O_SYNC) endif() +if(ANDROID) + add_definitions("-DANDROID=1") +endif() + + set (lmdb_sources mdb.c midl.c) |