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.
This commit is contained in:
parent
efc7604ca2
commit
34d39dce57
|
@ -17,9 +17,9 @@ kwargs:
|
||||||
instead (see above).
|
instead (see above).
|
||||||
|
|
||||||
soversion:
|
soversion:
|
||||||
type: str
|
type: str | int
|
||||||
description: |
|
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
|
such as `0`. On Linux and Windows this is used to set the
|
||||||
soversion (or equivalent) in the filename. For example, if
|
soversion (or equivalent) in the filename. For example, if
|
||||||
`soversion` is `4`, a Windows DLL will be called `foo-4.dll` and one
|
`soversion` is `4`, a Windows DLL will be called `foo-4.dll` and one
|
||||||
|
|
Loading…
Reference in New Issue