Re: zlib detection in Meson on Windows broken?

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: zlib detection in Meson on Windows broken?
Date: 2024-05-22 11:12:01
Message-ID: CA+OCxozxcTnCzqM7F2e3cbyBwu2FmF8H2kpqy4ERwscTd-gvfw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 21 May 2024 at 18:00, Andres Freund <andres(at)anarazel(dot)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.

--
Dave Page
pgAdmin: https://www.pgadmin.org
PostgreSQL: https://www.postgresql.org
EDB: https://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2024-05-22 11:12:48 Re: zlib detection in Meson on Windows broken?
Previous Message Bertrand Drouvot 2024-05-22 10:21:34 Re: Avoid orphaned objects dependencies, take 3