aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/backends.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-12-10 14:42:53 +0200
committerGitHub <noreply@github.com>2017-12-10 14:42:53 +0200
commitcbefb57ffe6645cfc469b1a20894bdb7b553f336 (patch)
tree0b7d79986e641055e7560903c8322faeb7e01cf9 /mesonbuild/backend/backends.py
parent5ff9e05c8bf05304b80a1c21cbbc11f4d5269ff0 (diff)
parent5a1d294b5e27cd77b1ca4ae5d403abd005e20ea9 (diff)
downloadmeson-cbefb57ffe6645cfc469b1a20894bdb7b553f336.zip
meson-cbefb57ffe6645cfc469b1a20894bdb7b553f336.tar.gz
meson-cbefb57ffe6645cfc469b1a20894bdb7b553f336.tar.bz2
Merge pull request #2745 from dcbaker/submit/haiku
small fixes for haiku
Diffstat (limited to 'mesonbuild/backend/backends.py')
-rw-r--r--mesonbuild/backend/backends.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index f7b56bd..3f1e4ce 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -511,7 +511,7 @@ class Backend:
# For 'automagic' deps: Boost and GTest. Also dependency('threads').
# pkg-config puts the thread flags itself via `Cflags:`
if dep.need_threads():
- commands += compiler.thread_flags()
+ commands += compiler.thread_flags(self.environment)
# Fortran requires extra include directives.
if compiler.language == 'fortran':
for lt in target.link_targets: