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
250 stars 39 forks source link

meson: Fix symbol exporting #46

Closed antoniovazquezblanco closed 5 months ago

antoniovazquezblanco commented 5 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 5 months ago

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

antoniovazquezblanco commented 5 months ago

Thanks for the fast response.