macOS: dylib versioning: meson.build needs to set 'darwin_versions' for lib targets
Similar to other projects, meson.build
needs to set attribute darwin_versions
for lib targets. Otherwise the dylib versions aren't properly set, breaking dependent components:
$ otool -L /opt/local/lib/libpixman-1.0.dylib
/opt/local/lib/libpixman-1.0.dylib:
/opt/local/lib/libpixman-1.0.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.100.1)
This is easy enough to fix though, and I'll submit a merge request. More to follow.