aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/misc.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-01-06 14:41:26 +0200
committerGitHub <noreply@github.com>2018-01-06 14:41:26 +0200
commit6c97d8d94d603a07116224e29e5ab05f960f8de9 (patch)
tree08cf4fe35e8da3454e2747f025b3fb7ed68da1a4 /mesonbuild/dependencies/misc.py
parent711c3a28ba62a2030089f4ddadb0360a46fc30c1 (diff)
parentfd683a2b81ae6398674b21f2047f7db340a1e556 (diff)
downloadmeson-6c97d8d94d603a07116224e29e5ab05f960f8de9.zip
meson-6c97d8d94d603a07116224e29e5ab05f960f8de9.tar.gz
meson-6c97d8d94d603a07116224e29e5ab05f960f8de9.tar.bz2
Merge pull request #2879 from jon-turney/fix-boost-cygwin
Fix dependency('boost') on Cygwin
Diffstat (limited to 'mesonbuild/dependencies/misc.py')
-rw-r--r--mesonbuild/dependencies/misc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/misc.py b/mesonbuild/dependencies/misc.py
index cc0914c..9614f1f 100644
--- a/mesonbuild/dependencies/misc.py
+++ b/mesonbuild/dependencies/misc.py
@@ -365,7 +365,7 @@ class BoostDependency(ExternalDependency):
for module in self.requested_modules:
args = None
libname = 'boost_' + module
- if self.is_multithreading and not mesonlib.for_linux(self.want_cross, self.env):
+ if self.is_multithreading and mesonlib.for_darwin(self.want_cross, self.env):
# - Linux leaves off -mt but libraries are multithreading-aware.
# - Mac requires -mt for multithreading, so should not fall back to non-mt libraries.
libname = libname + '-mt'