diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2021-06-13 21:09:41 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2021-06-14 09:09:32 -0700 |
commit | 203a548d60343a97e436b59aa026ce17597f1cd1 (patch) | |
tree | e2cefbffbb111baab4b79571f588aaab61ee6721 /mesonbuild/dependencies/coarrays.py | |
parent | 1fb14fd3ecb535d7173ef041b8c8ef07c9968589 (diff) | |
download | meson-203a548d60343a97e436b59aa026ce17597f1cd1.zip meson-203a548d60343a97e436b59aa026ce17597f1cd1.tar.gz meson-203a548d60343a97e436b59aa026ce17597f1cd1.tar.bz2 |
dependencies: Use the SystemDependency
This fixes these dependencies, which currently return the name of the
dependency as the type.
Fixes #8877
Diffstat (limited to 'mesonbuild/dependencies/coarrays.py')
-rw-r--r-- | mesonbuild/dependencies/coarrays.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mesonbuild/dependencies/coarrays.py b/mesonbuild/dependencies/coarrays.py index aa8c818..f2aa608 100644 --- a/mesonbuild/dependencies/coarrays.py +++ b/mesonbuild/dependencies/coarrays.py @@ -15,10 +15,11 @@ import functools import typing as T -from .base import DependencyMethods, ExternalDependency, detect_compiler +from .base import DependencyMethods, detect_compiler from .cmake import CMakeDependency from .pkgconfig import PkgConfigDependency from .factory import factory_methods +from .system import SystemDependency if T.TYPE_CHECKING: from . factory import DependencyGenerator @@ -52,7 +53,7 @@ def coarray_factory(env: 'Environment', return candidates -class CoarrayDependency(ExternalDependency): +class CoarrayDependency(SystemDependency): """ Coarrays are a Fortran 2008 feature. |