Add the right directory to linker search path.

pull/3004/head
Benjamin Redelings 7 years ago
parent f62a8aa413
commit 632d12f281
  1. 2
      mesonbuild/dependencies/misc.py

@ -463,7 +463,7 @@ class BoostDependency(ExternalDependency):
def get_link_args(self): def get_link_args(self):
args = [] args = []
for dir in self.extra_lib_dirs(): 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: for lib in self.requested_modules:
args += self.lib_modules['boost_' + lib] args += self.lib_modules['boost_' + lib]
return args return args

Loading…
Cancel
Save