likle / cwalk

Path library for C/C++. Cross-Platform for Linux, FreeBSD, Windows and MacOS. Supports UNIX and Windows path styles on those platforms.
https://likle.github.io/cwalk/
MIT License
253 stars 40 forks source link

meson: Fix symbol exporting #46

Closed antoniovazquezblanco closed 6 months ago

antoniovazquezblanco commented 6 months ago

When compiling in Windows with MSVC no symbols were exported. This adds the CWK_SHARED definition when lib is being compiled as shared.

likle commented 6 months ago

Hi @antoniovazquezblanco ! Thank you very much, this obviously makes sense

antoniovazquezblanco commented 6 months ago

Thanks for the fast response.