summaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/boost.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-07-19 14:22:32 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2018-07-19 14:22:32 +0300
commitf90d3c19fd00fe62c1b815357f76a5891f338ea4 (patch)
tree401ecc65ce49d36075b8e9148ea0e753ed64ab22 /mesonbuild/dependencies/boost.py
parentc1fc55e6f6acf8289e673301be2c474e946ce305 (diff)
downloadmeson-useargsintests.tar.gz
Use option args in find_library.useargsintests
Diffstat (limited to 'mesonbuild/dependencies/boost.py')
-rw-r--r--mesonbuild/dependencies/boost.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/dependencies/boost.py b/mesonbuild/dependencies/boost.py
index 59d807056..126a9f7bd 100644
--- a/mesonbuild/dependencies/boost.py
+++ b/mesonbuild/dependencies/boost.py
@@ -352,7 +352,7 @@ class BoostDependency(ExternalDependency):
return None
def find_libraries_with_abi_tag(self, tag):
-
+ extra_args = []
# All modules should have the same tag
self.lib_modules = {}
@@ -361,7 +361,7 @@ class BoostDependency(ExternalDependency):
for module in self.requested_modules:
libname = 'boost_' + module + tag
- args = self.clib_compiler.find_library(libname, self.env, self.extra_lib_dirs())
+ args = self.clib_compiler.find_library(libname, self.env, self.extra_lib_dirs(), extra_args)
if args is None:
mlog.debug("Couldn\'t find library '{}' for boost module '{}' (ABI tag = '{}')".format(libname, module, tag))
all_found = False