]> git.ipfire.org Git - people/stevee/pakfire.git/commitdiff
meson: Avoid calling meson without setup is deprecated
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 29 Mar 2023 11:37:45 +0000 (13:37 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 29 Mar 2023 11:37:45 +0000 (13:37 +0200)
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>
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} \