]> git.ipfire.org Git - pakfire.git/commitdiff
meson: Avoid calling meson without setup is deprecated
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 29 Mar 2023 11:40:16 +0000 (13:40 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 30 Mar 2023 15:44:34 +0000 (15:44 +0000)
Calling meson without setup as argument when configure
a project is deprecated since a while by the meson developers.

To avoid any problems in future adding this argument.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
macros/meson.macro

index 28c370fc401c98883852fd40b32145a3ce16b657..951bd737cad00fd58731dec76b98af202849a754 100644 (file)
@@ -10,6 +10,7 @@ build
        _smp_mesonflags = %{PARALLELISMFLAGS}
 
        meson = %{__meson} \
+               setup \
                --buildtype=plain \
                --prefix=%{prefix} \
                --libdir=%{libdir} \