mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] ptxd_make_world_prepare: use meson setup command
@ 2023-02-23  9:51 Philipp Zabel
  2023-02-24  7:24 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Philipp Zabel @ 2023-02-23  9:51 UTC (permalink / raw)
  To: ptxdist; +Cc: Philipp Zabel

Fixes the following warning during the prepare stage of meson based
packages:

  WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.

The meson setup command is available since 0.42 and was marked as
deprecated in Meson 0.64.

Fixes: f4c1eef53247 ("host-meson: version bump 0.61.4 -> 1.0.0")
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 scripts/lib/ptxd_make_world_prepare.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/ptxd_make_world_prepare.sh b/scripts/lib/ptxd_make_world_prepare.sh
index b94b91edf709..591e9a1f0255 100644
--- a/scripts/lib/ptxd_make_world_prepare.sh
+++ b/scripts/lib/ptxd_make_world_prepare.sh
@@ -149,7 +149,7 @@ ptxd_make_world_prepare_meson() {
 	"${pkg_path}" \
 	"${pkg_env}" \
 	"${pkg_conf_env}" \
-	meson \
+	meson setup \
 	"${pkg_conf_opt}" \
 	"${pkg_conf_dir}" &&
     ptxd_make_world_compile_commands_filter
-- 
2.30.2




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-24  7:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-23  9:51 [ptxdist] [PATCH] ptxd_make_world_prepare: use meson setup command Philipp Zabel
2023-02-24  7:24 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox