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.



Reply via email to