Re: meson: Allow disabling static libraries

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Tristan Partin <tristan(at)partin(dot)io>
Subject: Re: meson: Allow disabling static libraries
Date: 2026-02-23 15:53:10
Message-ID: 7fc93f27-8360-48a8-8ca7-0f67d441b188@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 18.02.26 19:39, Tom Lane wrote:
> I think the attached v3 is about ready to go, with perhaps two
> loose ends for you to deal with:
>
> * Do we need to document this in the SGML docs?
>
> * Given that -Ddefault_library=static doesn't actually work and
> I doubt we have any interest in ever making it work, perhaps
> it would be nicer to throw an explicit 'not supported' error.
> As this stands, if you try it you get
> src/interfaces/libpq/meson.build:89:0: ERROR: Unknown variable "libpq_so".
> which looks more like a bug than an intentionally-unsupported option.

Committed with documentation addition and an explicit error for the
not-supported case.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Álvaro Herrera 2026-02-23 16:03:35 Re: Regression failures after changing PostgreSQL blocksize
Previous Message Álvaro Herrera 2026-02-23 15:50:57 Re: NOT NULL NOT ENFORCED