diff --git a/build-android-with-native.py b/build-android-with-native.py index 7518ff5ba..72b4c970f 100755 --- a/build-android-with-native.py +++ b/build-android-with-native.py @@ -342,7 +342,7 @@ for arch in ARCHS: ] src_dir = os.path.join(LIBZIM_SRC, 'src') - compile_cmd = ('g++ -fPIC -c -D_FILE_OFFSET_BITS=64 ' + compile_cmd = ('g++ -fPIC -c -D_FILE_OFFSET_BITS=64 -DHAVE_LSEEK64 ' '-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE ' '-B%(platform)s/sysroot ' '%(source_files)s -I%(include_paths)s ' diff --git a/libs/armeabi/libkiwix.so b/libs/armeabi/libkiwix.so index a02eb453e..09708119a 100755 Binary files a/libs/armeabi/libkiwix.so and b/libs/armeabi/libkiwix.so differ diff --git a/libs/mips/libkiwix.so b/libs/mips/libkiwix.so index d7d8c1e93..d75ad701f 100755 Binary files a/libs/mips/libkiwix.so and b/libs/mips/libkiwix.so differ diff --git a/libs/x86/libkiwix.so b/libs/x86/libkiwix.so index e49587b6a..4890b5b3b 100755 Binary files a/libs/x86/libkiwix.so and b/libs/x86/libkiwix.so differ