Re: [PATCH] Add an ldflags_sl meson build option

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: "Matt Smith (matts3)" <matts3(at)cisco(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Add an ldflags_sl meson build option
Date: 2025-06-18 05:34:46
Message-ID: 1270921d-9c32-4733-9b3e-b7643c515381@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 18.06.25 03:11, Matt Smith (matts3) wrote:
> An example of a shared library-specific flag is -shared on linux or -
> dynamiclib on darwin.

But those options are already added by the build system itself.
LDFLAGS_SL would be if you wanted to pass some additional custom linker
flag just for shared libraries.

The reason I'm skeptical is that Meson generally wants to handle that
sort of thing with higher-level build options, not by passing flags
through directly. So I wouldn't want to drill additional holes into
that system without a clear use case.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2025-06-18 05:38:19 Re: minimum Meson version
Previous Message Amit Kapila 2025-06-18 05:26:21 Re: Replication slot is not able to sync up