aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2019-03-12 17:59:04 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2019-03-14 12:21:05 +0000
commitbcee8fb8caa693e7cd277fc122a61071f8964fa3 (patch)
tree4354c7d1dfccc0579ccda8334e1308dfd293229f
parent07818dac6acc7a805548be4b605320dd27de126c (diff)
downloadmeson-bcee8fb8caa693e7cd277fc122a61071f8964fa3.zip
meson-bcee8fb8caa693e7cd277fc122a61071f8964fa3.tar.gz
meson-bcee8fb8caa693e7cd277fc122a61071f8964fa3.tar.bz2
compilers: Update comment about library search patterns
-rw-r--r--mesonbuild/compilers/c.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/mesonbuild/compilers/c.py b/mesonbuild/compilers/c.py
index d4d6f66..3548b6d 100644
--- a/mesonbuild/compilers/c.py
+++ b/mesonbuild/compilers/c.py
@@ -911,8 +911,10 @@ class CCompiler(Compiler):
priority
'''
stlibext = ['a']
- # We've always allowed libname to be both `foo` and `libfoo`,
- # and now people depend on it
+ # We've always allowed libname to be both `foo` and `libfoo`, and now
+ # people depend on it. Also, some people use prebuilt `foo.so` instead
+ # of `libfoo.so` for unknown reasons, and may also want to create
+ # `foo.so` by setting name_prefix to ''
if strict and not isinstance(self, VisualStudioCCompiler): # lib prefix is not usually used with msvc
prefixes = ['lib']
else: