jpsim / Yams

A Sweet and Swifty YAML parser.
https://jpsim.com/Yams
MIT License
1.12k stars 144 forks source link

build: pass `YAML_DEFINE_STATIC` to the CInterop #398

Closed compnerd closed 1 year ago

compnerd commented 1 year ago

While we would now build CYaml statically, we would fail to indicate to clang the library was meant to be used statically and not dynamically. This cleans up some linker warnings when building SPM.