Re: zlib detection in Meson on Windows broken? - Mailing list pgsql-hackers

From Andres Freund
Subject Re: zlib detection in Meson on Windows broken?
Date
Msg-id 20240521150404.vr4rlmat5xutvwli@awork3.anarazel.de
Whole thread Raw
In response to zlib detection in Meson on Windows broken?  (Dave Page <dpage@pgadmin.org>)
Responses Re: zlib detection in Meson on Windows broken?
Re: zlib detection in Meson on Windows broken?
Re: zlib detection in Meson on Windows broken?
List pgsql-hackers
Hi,

On 2024-05-20 11:58:05 +0100, Dave Page wrote:
> I have very little experience with Meson, and even less interpreting it's
> logs, but it seems to me that it's not including the extra lib and include
> directories when it runs the test compile, given the command line it's
> reporting:
> 
> cl C:\Users\dpage\git\postgresql\build\meson-private\tmpg_h4xcue\testfile.c
> /nologo /showIncludes /utf-8 /EP /nologo /showIncludes /utf-8 /EP /Od /Oi-
> 
> Bug, or am I doing something silly?

It's a buglet. We rely on meson's internal fallback detection of zlib, if it's
not provided via pkg-config or cmake. But it doesn't know about our
extra_include_dirs parameter. We should probably fix that...

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Possible Bug in relation_open
Next
From: Tom Lane
Date:
Subject: Re: Possible Bug in relation_open