mirror of https://github.com/tuhiproject/tuhi.git
meson.build: explicitly check for gettext to be present
There's a meson issue where loading i18n produces a warning about missing gettext but then proceeds to fail with confusing error messages where the i18n module is used, see https://github.com/mesonbuild/meson/issues/6165 Work around this by explicitly checking for gettext after loading i18n. Fixes #270 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>pull/271/head
parent
643099b858
commit
99952dd118
|
@ -23,6 +23,8 @@ libexecdir = join_paths(get_option('prefix'), get_option('libexecdir'), 'tuhi')
|
|||
|
||||
|
||||
i18n = import('i18n')
|
||||
# Workaround for https://github.com/mesonbuild/meson/issues/6165
|
||||
find_program('gettext')
|
||||
|
||||
subdir('po')
|
||||
subdir('data')
|
||||
|
|
Loading…
Reference in New Issue