diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-03-12 17:59:04 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2019-03-14 12:21:05 +0000 |
commit | bcee8fb8caa693e7cd277fc122a61071f8964fa3 (patch) | |
tree | 4354c7d1dfccc0579ccda8334e1308dfd293229f | |
parent | 07818dac6acc7a805548be4b605320dd27de126c (diff) | |
download | meson-bcee8fb8caa693e7cd277fc122a61071f8964fa3.zip meson-bcee8fb8caa693e7cd277fc122a61071f8964fa3.tar.gz meson-bcee8fb8caa693e7cd277fc122a61071f8964fa3.tar.bz2 |
compilers: Update comment about library search patterns
-rw-r--r-- | mesonbuild/compilers/c.py | 6 |
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: |