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 20240521170012.sdfe7zbxohkepsfh@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?
List pgsql-hackers
Hi,

On 2024-05-20 11:58:05 +0100, Dave Page wrote:
> I then attempt to build PostgreSQL:
> 
>  meson setup build
> -Dextra_include_dirs=C:/build64/openssl/include,C:/build64/zlib/include
> -Dextra_lib_dirs=C:/build64/openssl/lib,C:/build64/zlib/lib -Dssl=openssl
> -Dzlib=enabled --prefix=c:/build64/pgsql
> 
> Which results in the output in output.txt, indicating that OpenSSL was
> correctly found, but zlib was not. I've also attached the meson log.

I forgot to mention that earlier: Assuming you're building something to be
distributed, I'd recommend --auto-features=enabled/disabled and specifying
specifically which dependencies you want to be used.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: First draft of PG 17 release notes
Next
From: Peter Geoghegan
Date:
Subject: Re: First draft of PG 17 release notes