Add the right directory to linker search path.

This commit is contained in:
Benjamin Redelings 2018-02-07 21:50:15 -05:00
parent f62a8aa413
commit 632d12f281
1 changed files with 1 additions and 1 deletions

View File

@ -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