Re: [PATCH] Add an ldflags_sl meson build option

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PATCH] Add an ldflags_sl meson build option
Дата
Msg-id 1270921d-9c32-4733-9b3e-b7643c515381@eisentraut.org
обсуждение исходный текст
Ответ на Re: [PATCH] Add an ldflags_sl meson build option  ("Matt Smith (matts3)" <matts3@cisco.com>)
Список 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 по дате отправления: