modules/i18n: fix gettext use of --datadirs param

The previous commit bd2fcb268b
accidentally used the wrong var so the param name was missing,
leading to an error of "unrecognized arguments" for the
datadirs parameter value.
pull/9346/head
Dan Streetman 3 years ago committed by Eli Schwartz
parent 7825a6f2ca
commit 3c2cca5699
  1. 2
      mesonbuild/modules/i18n.py

@ -245,7 +245,7 @@ class I18nModule(ExtensionModule):
potargs = state.environment.get_build_command() + ['--internal', 'gettext', 'pot', pkg_arg]
if datadirs:
potargs.append(_datadirs)
potargs.append(datadirs)
if extra_arg:
potargs.append(extra_arg)
pottarget = build.RunTarget(packagename + '-pot', potargs, [], state.subdir, state.subproject)

Loading…
Cancel
Save