]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
meson: Fix oversight in install-quiet
authorAndres Freund <andres@anarazel.de>
Fri, 24 Mar 2023 16:39:35 +0000 (09:39 -0700)
committerAndres Freund <andres@anarazel.de>
Fri, 24 Mar 2023 16:39:35 +0000 (09:39 -0700)
In e522049f239 I accidentally forgot to add meson_bin to the argument list for
install-quiet. That kind of works on some platforms because the executable is
just 'python', wich the path to meson in an argument. But on windows meson
might be installed as an executable.

Reported-by: Andrew Dunstan <andrew@dunslane.net>
Discussion: https://postgr.es/m/b36dd6a4-748a-4737-54d5-dc8a50fdbe4b@dunslane.net

meson.build

index 77ee015ea9c4a51a1b0045549445c04be120c124..2fe47a468c8c7ae2468f648eb163330c8c7112ce 100644 (file)
@@ -2942,7 +2942,7 @@ install_quiet = custom_target('install-quiet',
   output: 'install-quiet',
   build_always_stale: true,
   build_by_default: false,
-  command: meson_args + ['install', '--quiet', '--no-rebuild'],
+  command: [meson_bin, meson_args, 'install', '--quiet', '--no-rebuild'],
   depends: all_built,
 )