]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
meson: fix type error for integer option 2775/head
authorEli Schwartz <eschwartz@archlinux.org>
Mon, 6 Sep 2021 20:04:48 +0000 (16:04 -0400)
committerEli Schwartz <eschwartz@archlinux.org>
Fri, 10 Sep 2021 03:40:58 +0000 (23:40 -0400)
meson forgave using the wrong type, but this isn't guaranteed. muon
simply failed.

build/meson/meson_options.txt

index 90a81c53918e4a361bd6e0c4c9c98601fd2ed7a9..accf3fa10359a4bd07aed75cde641835e30e97c2 100644 (file)
@@ -10,7 +10,7 @@
 
 # Read guidelines from https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting
 
-option('legacy_level', type: 'integer', min: 0, max: 7, value: '5',
+option('legacy_level', type: 'integer', min: 0, max: 7, value: 5,
   description: 'Support any legacy format: 7 to 1 for v0.7+ to v0.1+')
 option('debug_level', type: 'integer', min: 0, max: 9, value: 1,
   description: 'Enable run-time debug. See lib/common/debug.h')