Skip to content

Fix version error when building with an old meson version

Íñigo Huguet requested to merge ih/fix-meson-man into main

Summary

Addition of list and string is allowed but only from version 0.60 of meson. We claim to support building with meson 0.47, and there are distributions like Debian and CentOS Stream 8 that uses versions older than 0.60. Fix it by converting the offending string to a single item list.

Purpose

Fixes: 984642e3 ("build: meson: fix some missing dependencies")

Checklist

Please read https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/CONTRIBUTING.md before opening the merge request. In particular, check that:

  • the subject for all commits is concise and explicative
  • the message for all commits explains the reason for the change
  • the source is properly formatted
  • any relevant documentation is up to date
  • you have added unit tests if applicable

Merge request reports