koreader / koreader-base

Base framework offering a Lua scriptable environment for creating document readers
http://koreader.rocks/
GNU Affero General Public License v3.0
131 stars 105 forks source link

android: fix 32bits builds #1917

Closed benoit-pierre closed 2 weeks ago

benoit-pierre commented 2 weeks ago

MuPDF would fail to open some ZIPs:

MuPDF cannot open file.: cannot find end of central directory (7)

Make sure all code is compiled with -U_FILE_OFFSET_BITS -D_FILE_OFFSET_BITS=32.

NOTE: the initial -U_FILE_OFFSET_BITS is for meson external projects (cf. https://github.com/mesonbuild/meson/issues/3519).


This change is Reviewable