aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-03-29 14:37:56 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2022-03-31 18:09:01 +0300
commit34d39dce5749b2f8066e22a890d79170387b2bb4 (patch)
tree3d1bd2352b889b69fb1d5d034e75d4a18e55cb82
parentefc7604ca268666cf40b1efc69b62ebfca986344 (diff)
downloadmeson-34d39dce5749b2f8066e22a890d79170387b2bb4.zip
meson-34d39dce5749b2f8066e22a890d79170387b2bb4.tar.gz
meson-34d39dce5749b2f8066e22a890d79170387b2bb4.tar.bz2
docs: correct documentation of shared_library soversions
We have always accepted an int here as an alternative to a string, but the initial documentation thought it was only a string.
-rw-r--r--docs/yaml/functions/shared_library.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/yaml/functions/shared_library.yaml b/docs/yaml/functions/shared_library.yaml
index 15ac782..956fb2c 100644
--- a/docs/yaml/functions/shared_library.yaml
+++ b/docs/yaml/functions/shared_library.yaml
@@ -17,9 +17,9 @@ kwargs:
instead (see above).
soversion:
- type: str
+ type: str | int
description: |
- A string specifying the soversion of this shared library,
+ A string or integer specifying the soversion of this shared library,
such as `0`. On Linux and Windows this is used to set the
soversion (or equivalent) in the filename. For example, if
`soversion` is `4`, a Windows DLL will be called `foo-4.dll` and one