From bcee8fb8caa693e7cd277fc122a61071f8964fa3 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Tue, 12 Mar 2019 17:59:04 +0530 Subject: compilers: Update comment about library search patterns --- mesonbuild/compilers/c.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mesonbuild/compilers') 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: -- cgit v1.1