aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
authorCharles Brunet <charles.brunet@optelgroup.com>2023-03-13 09:14:54 -0400
committerEli Schwartz <eschwartz93@gmail.com>2023-03-16 08:27:06 -0400
commita5a7b29a665d1ef82fc606b5ee920e284e3ef1b7 (patch)
tree446030a9ab828091fb17cf53fb97be53b01d9acf /mesonbuild/compilers/compilers.py
parentef5da765af7c5687228ed6e77a19d20bc474c4a4 (diff)
downloadmeson-a5a7b29a665d1ef82fc606b5ee920e284e3ef1b7.zip
meson-a5a7b29a665d1ef82fc606b5ee920e284e3ef1b7.tar.gz
meson-a5a7b29a665d1ef82fc606b5ee920e284e3ef1b7.tar.bz2
prevent lib prefix warning from pkg-config
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r--mesonbuild/compilers/compilers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index f17ae22..a1b389b 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -752,7 +752,7 @@ class Compiler(HoldableObject, metaclass=abc.ABCMeta):
return args.copy()
def find_library(self, libname: str, env: 'Environment', extra_dirs: T.List[str],
- libtype: LibType = LibType.PREFER_SHARED) -> T.Optional[T.List[str]]:
+ libtype: LibType = LibType.PREFER_SHARED, lib_prefix_warning: bool = True) -> T.Optional[T.List[str]]:
raise EnvironmentException(f'Language {self.get_display_language()} does not support library finding.')
def get_library_naming(self, env: 'Environment', libtype: LibType,