Fix style issues.

This commit is contained in:
Benjamin Redelings 2017-12-30 11:27:46 -08:00
parent a82abfcb4a
commit ea4d5697a8
1 changed files with 3 additions and 3 deletions

View File

@ -361,7 +361,7 @@ class BoostDependency(ExternalDependency):
all_found = True all_found = True
for module in self.requested_modules: for module in self.requested_modules:
args = None args = None
libname = 'boost_'+module libname = 'boost_' + module
if self.is_multithreading and not mesonlib.for_linux(self.want_cross, self.env): if self.is_multithreading and not mesonlib.for_linux(self.want_cross, self.env):
# - Linux leaves off -mt but libraries are multithreading-aware. # - Linux leaves off -mt but libraries are multithreading-aware.
# - Mac requires -mt for multithreading, so should not fall back to non-mt libraries. # - Mac requires -mt for multithreading, so should not fall back to non-mt libraries.
@ -426,9 +426,9 @@ class BoostDependency(ExternalDependency):
def extra_lib_dirs(self): def extra_lib_dirs(self):
dirs = [] dirs = []
if self.boost_root: if self.boost_root:
dirs= [ os.path.join(self.boost_root, 'lib')] dirs = [os.path.join(self.boost_root, 'lib')]
elif self.libdir: elif self.libdir:
dirs = [ self.libdir ] dirs = [self.libdir]
return dirs return dirs
def get_link_args(self): def get_link_args(self):