summaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/boost.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-06-13 21:09:41 -0700
committerDylan Baker <dylan@pnwbakers.com>2021-06-14 09:09:32 -0700
commit203a548d60343a97e436b59aa026ce17597f1cd1 (patch)
treee2cefbffbb111baab4b79571f588aaab61ee6721 /mesonbuild/dependencies/boost.py
parent1fb14fd3ecb535d7173ef041b8c8ef07c9968589 (diff)
downloadmeson-203a548d60343a97e436b59aa026ce17597f1cd1.tar.gz
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/boost.py')
-rw-r--r--mesonbuild/dependencies/boost.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/mesonbuild/dependencies/boost.py b/mesonbuild/dependencies/boost.py
index c8bc594dd..fabebfa0c 100644
--- a/mesonbuild/dependencies/boost.py
+++ b/mesonbuild/dependencies/boost.py
@@ -21,9 +21,10 @@ from .. import mlog
from .. import mesonlib
from ..environment import Environment
-from .base import DependencyException, ExternalDependency
+from .base import DependencyException
from .pkgconfig import PkgConfigDependency
from .misc import threads_factory
+from .system import SystemDependency
if T.TYPE_CHECKING:
from ..environment import Properties
@@ -340,7 +341,7 @@ class BoostLibraryFile():
def get_link_args(self) -> T.List[str]:
return [self.path.as_posix()]
-class BoostDependency(ExternalDependency):
+class BoostDependency(SystemDependency):
def __init__(self, environment: Environment, kwargs: T.Dict[str, T.Any]) -> None:
super().__init__('boost', environment, kwargs, language='cpp')
buildtype = environment.coredata.get_option(mesonlib.OptionKey('buildtype'))