docs: Use common conventions for shared libs

Use common conventions for documentation of shared library version and
soversion. In general, the numeric version part is expected to be first
component of version, so suggest this in the example code.
This commit is contained in:
Sune Vuorela 2024-01-25 16:49:48 +01:00 committed by Eli Schwartz
parent adc8d6bae4
commit a9f9f03490
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ ignored if the library is configured as static at the compile time.
```meson
project('shared lib', 'c')
library('mylib', 'source.c', version : '1.2.3', soversion : '0')
library('mylib', 'source.c', version : '1.2.3', soversion : '1')
```
It is common to build a library and then an executable that links