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

From Dave Page
Subject Re: zlib detection in Meson on Windows broken?
Date
Msg-id CA+OCxozxcTnCzqM7F2e3cbyBwu2FmF8H2kpqy4ERwscTd-gvfw@mail.gmail.com
Whole thread Raw
In response to Re: zlib detection in Meson on Windows broken?  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers


On Tue, 21 May 2024 at 18:00, Andres Freund <andres@anarazel.de> wrote:
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.

Good idea - thanks.
 
--

pgsql-hackers by date:

Previous
From: Bertrand Drouvot
Date:
Subject: Re: Avoid orphaned objects dependencies, take 3
Next
From: Dave Page
Date:
Subject: Re: zlib detection in Meson on Windows broken?