diff options
| author | Sune Vuorela <sune@vuorela.dk> | 2024-01-25 16:49:48 +0100 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2024-01-25 13:43:54 -0500 |
| commit | a9f9f034905459bed628d886c3315ded162a9789 (patch) | |
| tree | c701e72ac7c08dca7a11204ee17809cb704ca99c /docs/markdown | |
| parent | adc8d6bae4010c06fc3b779b8d84c1c5b4a910ad (diff) | |
| download | meson-a9f9f034905459bed628d886c3315ded162a9789.tar.gz | |
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.
Diffstat (limited to 'docs/markdown')
| -rw-r--r-- | docs/markdown/Build-targets.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/markdown/Build-targets.md b/docs/markdown/Build-targets.md index 780595cae..a2f9b3291 100644 --- a/docs/markdown/Build-targets.md +++ b/docs/markdown/Build-targets.md @@ -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 |
