pgsql: meson: windows: Normalize slashes in prefix

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: meson: windows: Normalize slashes in prefix
Date: 2022-09-29 01:49:48
Message-ID: E1odigN-0004SW-Cd@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)melihmutlu(at)gmail(dot)com>
Discussion: http://postgr.es/m/20220928022724.erzuk5v4ai4b53do@awork3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e3a892539b2baabc1963c31605728bbbc8f8b89a

Modified Files
--------------
meson.build | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2022-09-29 05:02:14 pgsql: windows: Set UMDF_USING_NTSTATUS globally, include ntstatus.h
Previous Message Michael Paquier 2022-09-29 01:14:59 pgsql: Map ERROR_INVALID_NAME to ENOENT in mapping table of win32error.