[ANDROID] Deactivate some features if we are compiling for android.

Android libc doesn't support all thread feature (as pthread_cancel).
Do not compile those files if we are compiling for android.
This commit is contained in:
Matthieu Gautier
2017-02-22 16:56:21 +01:00
parent 9616530648
commit aafe9a4435
3 changed files with 15 additions and 4 deletions

View File

@ -1,11 +1,14 @@
headers = [
'indexer.h',
'library.h',
'manager.h',
'reader.h',
'searcher.h'
]
if not get_option('android')
headers += ['indexer.h']
endif
if xapian_dep.found()
headers += ['xapianIndexer.h', 'xapianSearcher.h']
endif