benhoyt / inih

Simple .INI file parser in C, good for embedded systems
Other
2.47k stars 493 forks source link

Add Cflags.private to support static linking on Windows #162

Open kmilos opened 10 months ago

kmilos commented 10 months ago

Cflags.private: -UINI_SHARED_LIB is needed to support both shared and static linking on Windows with a single .pc file.

See e.g. https://stackoverflow.com/a/66079443

neheb commented 3 months ago

@eli-schwartz any comment on this? I don't see support for this in meson.