]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
meson: don't build po if no gettext
authorRosen Penev <rosenp@gmail.com>
Wed, 18 May 2022 00:04:47 +0000 (17:04 -0700)
committerGitHub <noreply@github.com>
Wed, 18 May 2022 00:04:47 +0000 (17:04 -0700)
po/meson.build

index fa20ef452d16999b6e5877532f91bc768dfd8518..c10deafd28a60e761eff8f947d996ddc8b248087 100644 (file)
@@ -1,3 +1,7 @@
+if not find_program('gettext').found()
+  subdir_done()
+endif
+
 i18n = import('i18n')
 i18n.gettext(meson.project_name(),
              preset : 'glib',