diff options
author | Andrea Pappacoda <andrea@pappacoda.it> | 2022-11-20 15:11:52 +0100 |
---|---|---|
committer | Andrea Pappacoda <andrea@pappacoda.it> | 2022-11-20 15:11:52 +0100 |
commit | 4cf2075c47fdd22ab860b35f4732b35003973dea (patch) | |
tree | 9711c22c481a7ff82ed7cbfdd55be8cf91e41912 | |
parent | 62a8608ebc02fb6d2627cdcb0a1719cbf04be1b1 (diff) |
meson.pm: use `meson setup`
Using `meson srcdir` instead of `meson setup srcdir` is deprecated, and
prints the following warning:
WARNING: Running the setup command as `meson [options]` instead of
`meson setup [options]` is ambiguous and deprecated.
-rw-r--r-- | lib/Debian/Debhelper/Buildsystem/meson.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Debian/Debhelper/Buildsystem/meson.pm b/lib/Debian/Debhelper/Buildsystem/meson.pm index 5eda7168..9d11b2c6 100644 --- a/lib/Debian/Debhelper/Buildsystem/meson.pm +++ b/lib/Debian/Debhelper/Buildsystem/meson.pm @@ -94,7 +94,7 @@ sub configure { my %options = ( update_env => { LC_ALL => 'C.UTF-8'}, ); - $this->doit_in_builddir(\%options, "meson", $this->get_source_rel2builddir(), @opts, @_); + $this->doit_in_builddir(\%options, "meson", "setup", $this->get_source_rel2builddir(), @opts, @_); }; if ($@) { if (-e $this->get_buildpath("meson-logs/meson-log.txt")) { |