summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSune Vuorela <sune@vuorela.dk>2024-01-25 16:49:48 +0100
committerEli Schwartz <eschwartz93@gmail.com>2024-01-25 13:43:54 -0500
commita9f9f034905459bed628d886c3315ded162a9789 (patch)
treec701e72ac7c08dca7a11204ee17809cb704ca99c
parentadc8d6bae4010c06fc3b779b8d84c1c5b4a910ad (diff)
downloadmeson-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.
-rw-r--r--docs/markdown/Build-targets.md2
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