meson: fix misspelled kwarg name
authorEli Schwartz <eschwartz@archlinux.org>
Mon, 14 Mar 2022 00:26:05 +0000 (20:26 -0400)
committerEli Schwartz <eschwartz@archlinux.org>
Sun, 27 Mar 2022 17:07:52 +0000 (13:07 -0400)
set10 doesn't have a `Description` kwarg, it does have a `description`
kwarg though.

This caused the conf variable to not have a description when it should
have one, and newer versions of Meson with better argument validation
error out with:

meson.build:58:5: ERROR: configuration_data.set10 got unknown keyword arguments "Description"

meson.build

index 55054f441a0378845e0d3655b7eb18f6d140e3e1..8c93be9d1b22a7b105a51d4eb9f4db7f75702a24 100644 (file)
@@ -55,7 +55,7 @@ lib_name    = meson.project_name() + '-' + api_version
 stability_version_number = (major_version != 0 ? minor_version : micro_version)
 stable = (stability_version_number % 2 == 0)
 
-conf.set10('BABL_UNSTABLE', not stable, Description:
+conf.set10('BABL_UNSTABLE', not stable, description:
   'Define to 1 if this is an unstable version of BABL.')
 
 conf.set       ('BABL_MAJOR_VERSION',    '@0@'.format(major_version))