meson: windows: Normalize slashes in prefix
authorAndres Freund <andres@anarazel.de>
Tue, 27 Sep 2022 18:55:00 +0000 (11:55 -0700)
committerAndres Freund <andres@anarazel.de>
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 <m.melihmutlu@gmail.com>
Discussion: http://postgr.es/m/20220928022724.erzuk5v4ai4b53do@awork3.anarazel.de
meson.build