mirror of
https://gitlab.com/ita1024/waf.git
synced 2025-01-26 18:20:22 +01:00
boost: find_file throw an exception is the file isn't found.
This commit is contained in:
parent
b704a18559
commit
ffc07831cc
@ -397,8 +397,9 @@ def install_boost(self):
|
|||||||
install_boost.done = True
|
install_boost.done = True
|
||||||
inst_to = getattr(self, 'install_path', '${BINDIR}')
|
inst_to = getattr(self, 'install_path', '${BINDIR}')
|
||||||
for lib in self.env.LIB_BOOST:
|
for lib in self.env.LIB_BOOST:
|
||||||
file = self.bld.find_file(self.env.cxxshlib_PATTERN % lib, self.env.LIBPATH_BOOST)
|
try:
|
||||||
if not file:
|
file = self.bld.find_file(self.env.cxxshlib_PATTERN % lib, self.env.LIBPATH_BOOST)
|
||||||
|
self.bld.install_files(inst_to, self.bld.root.find_node(file))
|
||||||
|
except:
|
||||||
continue
|
continue
|
||||||
self.bld.install_files(inst_to, self.bld.root.find_node(file))
|
|
||||||
install_boost.done = False
|
install_boost.done = False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user