build: Make packaging module required

Python module packaging is required since https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3740,
so mark it as dependency in meson.
This commit is contained in:
Khalid Abu Shawarib 2023-12-10 21:57:09 +00:00
parent 7032c3353e
commit fc6f06127c

View File

@ -2376,7 +2376,7 @@ endif
glib_conf.set('HAVE_PROC_SELF_CMDLINE', have_proc_self_cmdline)
python = import('python').find_installation()
python = import('python').find_installation(modules: ['packaging'])
# used for '#!/usr/bin/env <name>'
python_name = 'python3'