summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2019-03-12 17:59:04 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2019-03-14 13:04:09 +0530
commitcffd1819faaad3b01028707b01330a4d3bf593cc (patch)
tree4354c7d1dfccc0579ccda8334e1308dfd293229f
parent0ab833d2ce1f1211b92db5153b05f7408631eb14 (diff)
downloadmeson-nirbheek/fix-more-dedup.tar.gz
compilers: Update comment about library search patternsnirbheek/fix-more-dedup
-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 d4d6f6629..3548b6d19 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: