0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

std, stage1: make shared library versioning optional

This commit changes the behavior of stage1 to emit libfoo.so instead
of libfoo.so.0.0.0 when none of the --ver-major, --ver-minor, or
--ver-patch flags are set.

It also makes it possible to create unversioned shared libraries
using the zig build system, changing the version parameter of
addSharedLibrary() to a tagged union.
This commit is contained in:
Isaac Freund 2020-09-11 01:22:18 +02:00
commit 0a76a9bd73
No known key found for this signature in database
GPG key ID: 86DED400DDFD7A11
8 changed files with 92 additions and 45 deletions