meson: Use 'libzim' name as a dependency

With <https://gerrit.wikimedia.org/r/#/c/329759/>, the library is now
registered with pkg-config as "libzim".
This commit is contained in:
Kunal Mehta 2016-12-31 02:38:27 -08:00 committed by Kunal Mehta
parent 4895af59e8
commit baf4c9050f
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ compiler = meson.get_compiler('cpp')
thread_dep = dependency('threads')
libicu_dep = dependency('icu-i18n')
libzim_dep = dependency('zimlib')
libzim_dep = dependency('libzim')
pugixml_dep = dependency('pugixml')
aria2_dep = find_program('aria2c')
@ -35,7 +35,7 @@ else
ctpp2_dep = declare_dependency(include_directories:ctpp2_include_path, dependencies:[ctpp2_lib])
endif
pkg_requires = ['zimlib', 'icu-i18n', 'pugixml']
pkg_requires = ['libzim', 'icu-i18n', 'pugixml']
xapian_dep = dependency('xapian-core', required:false)
if xapian_dep.found()
pkg_requires += ['xapian-core']