Skip to content

Commit

Permalink
Merge pull request #1124 from kiwix/better-libzim-version-check
Browse files Browse the repository at this point in the history
Better check libzim version
  • Loading branch information
kelson42 authored Sep 7, 2024
2 parents 801b1df + a3f5a65 commit 3d95b38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Section: libdevel
Architecture: any
Multi-Arch: same
Depends: libkiwix14 (= ${binary:Version}), ${misc:Depends}, python3,
libzim-dev (>= 9.0.0~),
libzim-dev (>= 9.0.0), libzim-dev (<< 10.0.0),
libicu-dev,
libpugixml-dev,
libcurl4-gnutls-dev,
Expand Down
4 changes: 3 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ else
error('Cannot found header mustache.hpp')
endif

libzim_dep = dependency('libzim', version : '>=9.0.0', static:static_deps)
libzim_dep = dependency('libzim', version:'>=9.0.0', static:static_deps)
libzim_dep = dependency('libzim', version:'<10.0.0', static:static_deps)

if not compiler.has_header_symbol('zim/zim.h', 'LIBZIM_WITH_XAPIAN', dependencies: libzim_dep)
error('Libzim seems to be compiled without xapian. Xapian support is mandatory.')
endif
Expand Down

0 comments on commit 3d95b38

Please sign in to comment.