Re: Meson far from ready on Windows - Mailing list pgsql-hackers

From Dave Page
Subject Re: Meson far from ready on Windows
Date
Msg-id CA+OCxozM5sBiiR8zksRBbjFB=wQ-R3BRKFbSBshe_pgbAEETbw@mail.gmail.com
Whole thread Raw
In response to Re: Meson far from ready on Windows  (Dave Page <dpage@pgadmin.org>)
Responses Re: Meson far from ready on Windows
List pgsql-hackers
Hi

On Fri, 21 Jun 2024 at 12:20, Dave Page <dpage@pgadmin.org> wrote:

We/I *could* add cmake/pc file generation to that tool, which would make things work nicely with PostgreSQL 17 of course.

For giggles, I took a crack at doing that, manually creating .pc files for everything I've been working with so far. It seems to work as expected, except that unlike everything else libintl is detected entirely based on whether the header and library can be found. I had to pass extra lib and include dirs:

meson setup --wipe --pkg-config-path=C:\build64\lib\pkgconfig -Dextra_include_dirs=C:\build64\include -Dextra_lib_dirs=C:\build64\lib -Duuid=ossp build-auto

I'm assuming that's an oversight, given your previous comments?
 
--

pgsql-hackers by date:

Previous
From: Jelte Fennema-Nio
Date:
Subject: cfbot update: Using GitHub for patch review
Next
From: Tom Lane
Date:
Subject: Re: improve ssl error code, 2147483650