meson: windows: Normalize slashes in prefix
authorAndres Freund <[email protected]>
Tue, 27 Sep 2022 18:55:00 +0000 (11:55 -0700)
committerAndres Freund <[email protected]>
Thu, 29 Sep 2022 01:48:19 +0000 (18:48 -0700)
commite3a892539b2baabc1963c31605728bbbc8f8b89a
treed050fd249257ae13ce83188573cc53aaf8e4ad2b
parent2beae72746e6b762cb335ec4fff87e5407b3096c
meson: windows: Normalize slashes in prefix

This fixes a build issue on windows, when the prefix is set to a path with
forward slashes. Windows python defaults to a path with a backslash, but mingw
ucrt python defaults to a forward slash. This in turn lead to a wrong PATH set
during tests, causing tests to fail.

Reported-by: Melih Mutlu <[email protected]>
Discussion: http://postgr.es/m/20220928022724[email protected]
meson.build