aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/cuda.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/cuda.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/cuda.py')
-rw-r--r--mesonbuild/compilers/cuda.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/cuda.py b/mesonbuild/compilers/cuda.py
index d008d0c..9bf263c 100644
--- a/mesonbuild/compilers/cuda.py
+++ b/mesonbuild/compilers/cuda.py
@@ -749,7 +749,7 @@ class CudaCompiler(Compiler):
return self._to_host_flags(self.host_compiler.get_std_exe_link_args(), _Phase.LINKER)
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]]:
return ['-l' + libname] # FIXME
def get_crt_compile_args(self, crt_val: str, buildtype: str) -> T.List[str]: