]> git.ipfire.org Git - thirdparty/systemd.git/commit
meson: move i18n module import to only when it is used
authorEli Schwartz <eschwartz93@gmail.com>
Thu, 19 May 2022 10:54:40 +0000 (06:54 -0400)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 30 Jul 2022 04:58:22 +0000 (13:58 +0900)
commit64a42770064fac0d05892dfc5b3f105680677afd
treeb9784a522c70f6bae066246290da968b7cef4509
parent792d5e87b6b3489500244109f3079071d7acb5a7
meson: move i18n module import to only when it is used

When translations are disabled, it's not necessary to `import('i18n')`
and do nothing with it. Also, importing it is (slightly) slow as Meson
needs to load another implementation file from disk, so why bother with
that work?

More particularly, muon does not yet implement this module and fails to
setup. Since there's already an option to disable using it, it makes
sense to let that option completely skip the not-implemented
functionality and actually succeed.
po/meson.build