diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-03-12 17:59:04 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-04-16 23:54:38 +0530 |
commit | 825363fa871af9d30009619daed785aee48e1845 (patch) | |
tree | 0b470d7ea67745cf37cd8e69dbfc811561bb27b6 | |
parent | 8a2c2c9fca042accfb6e968966507d3d6558a872 (diff) | |
download | meson-825363fa871af9d30009619daed785aee48e1845.zip meson-825363fa871af9d30009619daed785aee48e1845.tar.gz meson-825363fa871af9d30009619daed785aee48e1845.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 816fbb1..ff6ca51 100644 --- a/mesonbuild/compilers/c.py +++ b/mesonbuild/compilers/c.py @@ -913,8 +913,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: |