meson: Avoid calling meson without setup is deprecated

Message ID 20230329114016.454052-1-stefan.schantl@ipfire.org
State Accepted
Commit 5dcadd941966c14bfbc9ed12c55c29485a40fe00
Headers
Series meson: Avoid calling meson without setup is deprecated |

Commit Message

Stefan Schantl March 29, 2023, 11:40 a.m. UTC
  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 | 1 +
 1 file changed, 1 insertion(+)
  

Patch

diff --git a/macros/meson.macro b/macros/meson.macro
index 28c370fc..951bd737 100644
--- a/macros/meson.macro
+++ b/macros/meson.macro
@@ -10,6 +10,7 @@  build
 	_smp_mesonflags = %{PARALLELISMFLAGS}
 
 	meson = %{__meson} \
+		setup \
 		--buildtype=plain \
 		--prefix=%{prefix} \
 		--libdir=%{libdir} \