Re: meson: Allow disabling static libraries - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: meson: Allow disabling static libraries
Date
Msg-id 7fc93f27-8360-48a8-8ca7-0f67d441b188@eisentraut.org
Whole thread Raw
In response to Re: meson: Allow disabling static libraries  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: meson: Allow disabling static libraries
List 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.




pgsql-hackers by date:

Previous
From: Álvaro Herrera
Date:
Subject: Re: NOT NULL NOT ENFORCED
Next
From: Álvaro Herrera
Date:
Subject: Re: Regression failures after changing PostgreSQL blocksize