From 632d12f2810b9ee6bb494ad554626fc5abe47835 Mon Sep 17 00:00:00 2001 From: Benjamin Redelings Date: Wed, 7 Feb 2018 21:50:15 -0500 Subject: [PATCH] Add the right directory to linker search path. --- mesonbuild/dependencies/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/dependencies/misc.py b/mesonbuild/dependencies/misc.py index 0b26e659b..078b46959 100644 --- a/mesonbuild/dependencies/misc.py +++ b/mesonbuild/dependencies/misc.py @@ -463,7 +463,7 @@ class BoostDependency(ExternalDependency): def get_link_args(self): args = [] for dir in self.extra_lib_dirs(): - args += self.compiler.get_linker_search_args(self.libdir) + args += self.compiler.get_linker_search_args(dir) for lib in self.requested_modules: args += self.lib_modules['boost_' + lib] return args