aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/base.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-04-05 16:41:08 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-04-05 16:41:08 -0700
commit6ad7fbf9509dd68792df7df08b785967a067d4c4 (patch)
treed4ed3b440daefa52c8fe9301c92505a53e96f49f /mesonbuild/dependencies/base.py
parentb842b0b04aa8678f98cbec5f7022e75636ddf4a3 (diff)
downloadmeson-6ad7fbf9509dd68792df7df08b785967a067d4c4.zip
meson-6ad7fbf9509dd68792df7df08b785967a067d4c4.tar.gz
meson-6ad7fbf9509dd68792df7df08b785967a067d4c4.tar.bz2
dependencies/misc: don't special case threads
Instad of having special casing of threads in the backends and everywehre else, do what we did for openmp, create a real dependency. Then make use of the fact that dependencies can now have sub dependencies to add threads.
Diffstat (limited to 'mesonbuild/dependencies/base.py')
-rw-r--r--mesonbuild/dependencies/base.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/mesonbuild/dependencies/base.py b/mesonbuild/dependencies/base.py
index 032fe60..aae2572 100644
--- a/mesonbuild/dependencies/base.py
+++ b/mesonbuild/dependencies/base.py
@@ -153,9 +153,6 @@ class Dependency:
def get_exe_args(self, compiler):
return []
- def need_threads(self):
- return False
-
def get_pkgconfig_variable(self, variable_name, kwargs):
raise DependencyException('{!r} is not a pkgconfig dependency'.format(self.name))