mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
[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:
@ -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
|
||||
|
Reference in New Issue
Block a user