From fc547ad05e5a8e650ae5bc2ecc7d40e4dbcc9f0f Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Mon, 20 Nov 2017 10:20:27 -0800 Subject: haiku: do not add pthread arguments Haiku has pthreads, but they are part of the standard C library, and do not need either special compiler or linker flags. --- mesonbuild/linkers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mesonbuild/linkers.py') diff --git a/mesonbuild/linkers.py b/mesonbuild/linkers.py index de788b7..2333e27 100644 --- a/mesonbuild/linkers.py +++ b/mesonbuild/linkers.py @@ -48,7 +48,7 @@ class VisualStudioLinker(StaticLinker): def build_rpath_args(self, build_dir, from_dir, rpath_paths, build_rpath, install_rpath): return [] - def thread_link_flags(self): + def thread_link_flags(self, env): return [] def get_option_link_args(self, options): @@ -100,7 +100,7 @@ class ArLinker(StaticLinker): def get_always_args(self): return [] - def thread_link_flags(self): + def thread_link_flags(self, env): return [] def get_option_link_args(self, options): -- cgit v1.1