aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Reference-manual.md
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2020-04-11 13:56:51 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2020-04-11 19:58:11 +0100
commitba7b50a1045e6a57710137dd856e031ca5e96566 (patch)
tree5e0c3e4221007f01e7b60e56f3a95f195853f218 /docs/markdown/Reference-manual.md
parent27d498de6dc260286efa1f979e4f7e37ff93a8ad (diff)
downloadmeson-ba7b50a1045e6a57710137dd856e031ca5e96566.zip
meson-ba7b50a1045e6a57710137dd856e031ca5e96566.tar.gz
meson-ba7b50a1045e6a57710137dd856e031ca5e96566.tar.bz2
Refine documentation of default name_prefix
Refine documentation of the default name_prefix, so people don't get the impression they can write logic which uses 'lib' as the default, when they should be defaulting to '[]', to let us take care of the complexities.
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r--docs/markdown/Reference-manual.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index ab7605d..b3792e7 100644
--- a/docs/markdown/Reference-manual.md
+++ b/docs/markdown/Reference-manual.md
@@ -1191,9 +1191,9 @@ The keyword arguments for this are the same as for
- `name_prefix` the string that will be used as the prefix for the
target output filename by overriding the default (only used for
- libraries). By default this is `lib` on all platforms and compilers
- except with MSVC shared libraries where it is omitted to follow
- convention.
+ libraries). By default this is `lib` on all platforms and compilers,
+ except for MSVC shared libraries where it is omitted to follow
+ convention, and Cygwin shared libraries where it is `cyg`.
- `name_suffix` the string that will be used as the suffix for the
target output filename by overriding the default (see also:
[executable()](#executable)). By default, for shared libraries this
@@ -1201,7 +1201,7 @@ The keyword arguments for this are the same as for
For static libraries, it is `a` everywhere. By convention MSVC
static libraries use the `lib` suffix, but we use `a` to avoid a
potential name clash with shared libraries which also generate
- `xxx.lib` import files.
+ import libraries with a `lib` suffix.
- `rust_crate_type` specifies the crate type for Rust
libraries. Defaults to `dylib` for shared libraries and `rlib` for
static libraries.