Skip to content

Commit 3d95b38

Browse files
authored
Merge pull request #1124 from kiwix/better-libzim-version-check
Better check libzim version
2 parents 801b1df + a3f5a65 commit 3d95b38

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

debian/control

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Section: libdevel
2323
Architecture: any
2424
Multi-Arch: same
2525
Depends: libkiwix14 (= ${binary:Version}), ${misc:Depends}, python3,
26-
libzim-dev (>= 9.0.0~),
26+
libzim-dev (>= 9.0.0), libzim-dev (<< 10.0.0),
2727
libicu-dev,
2828
libpugixml-dev,
2929
libcurl4-gnutls-dev,

meson.build

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ else
3535
error('Cannot found header mustache.hpp')
3636
endif
3737

38-
libzim_dep = dependency('libzim', version : '>=9.0.0', static:static_deps)
38+
libzim_dep = dependency('libzim', version:'>=9.0.0', static:static_deps)
39+
libzim_dep = dependency('libzim', version:'<10.0.0', static:static_deps)
40+
3941
if not compiler.has_header_symbol('zim/zim.h', 'LIBZIM_WITH_XAPIAN', dependencies: libzim_dep)
4042
error('Libzim seems to be compiled without xapian. Xapian support is mandatory.')
4143
endif

0 commit comments

Comments
 (0)