Re: [PATCH] Add an ldflags_sl meson build option - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PATCH] Add an ldflags_sl meson build option
Date
Msg-id 1270921d-9c32-4733-9b3e-b7643c515381@eisentraut.org
Whole thread Raw
In response to Re: [PATCH] Add an ldflags_sl meson build option  ("Matt Smith (matts3)" <matts3@cisco.com>)
List 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.




pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Replication slot is not able to sync up
Next
From: Peter Eisentraut
Date:
Subject: Re: minimum Meson version