diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2023-08-15 16:56:23 -0400 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2023-09-18 13:51:27 -0400 |
commit | 30d7f506c7ffe4af52feab1a68263a4bd8d78c8a (patch) | |
tree | 132587c0d6c69e4cb066ac8c862bf8e75703f25e /mesonbuild/dependencies/scalapack.py | |
parent | e0c4cffd70761c9b8176724145fb42d11e5313c4 (diff) | |
download | meson-30d7f506c7ffe4af52feab1a68263a4bd8d78c8a.zip meson-30d7f506c7ffe4af52feab1a68263a4bd8d78c8a.tar.gz meson-30d7f506c7ffe4af52feab1a68263a4bd8d78c8a.tar.bz2 |
Remove get_pkgconfig_variable()
Make sure that pkgconfig_define is a pair of strings and not a list with
more than 2 strings.
Diffstat (limited to 'mesonbuild/dependencies/scalapack.py')
-rw-r--r-- | mesonbuild/dependencies/scalapack.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/scalapack.py b/mesonbuild/dependencies/scalapack.py index fc2f720..158056f 100644 --- a/mesonbuild/dependencies/scalapack.py +++ b/mesonbuild/dependencies/scalapack.py @@ -148,5 +148,5 @@ class MKLPkgConfigDependency(PkgConfigDependency): # gfortran doesn't appear to look in system paths for INCLUDE files, # so don't allow pkg-config to suppress -I flags for system paths allow_system = True - cflags = self.pkgconfig.cflags(self.name, allow_system, define_variable=['prefix', self.__mklroot.as_posix()]) + cflags = self.pkgconfig.cflags(self.name, allow_system, define_variable=('prefix', self.__mklroot.as_posix())) self.compile_args = self._convert_mingw_paths(cflags) |