Fix style issues.
This commit is contained in:
parent
a82abfcb4a
commit
ea4d5697a8
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue