mirror of https://gitlab.com/ita1024/waf.git
Issue 1089
This commit is contained in:
parent
cf601c6d46
commit
8dc822fded
|
@ -301,8 +301,8 @@ def check_boost(self, *k, **kw):
|
||||||
'#include <boost/system/error_code.hpp>',
|
'#include <boost/system/error_code.hpp>',
|
||||||
'int main() { boost::system::error_code c; }',
|
'int main() { boost::system::error_code c; }',
|
||||||
]),
|
]),
|
||||||
use='BOOST',
|
use=var,
|
||||||
execute=True,
|
execute=True, # TODO breaks cross-compilation
|
||||||
)
|
)
|
||||||
if 'thread' in params['lib']:
|
if 'thread' in params['lib']:
|
||||||
self.check_cxx(
|
self.check_cxx(
|
||||||
|
@ -310,8 +310,8 @@ def check_boost(self, *k, **kw):
|
||||||
'#include <boost/thread.hpp>',
|
'#include <boost/thread.hpp>',
|
||||||
'int main() { boost::thread t; }',
|
'int main() { boost::thread t; }',
|
||||||
]),
|
]),
|
||||||
use='BOOST',
|
use=var,
|
||||||
execute=True,
|
execute=True, # TODO breaks cross-compilation
|
||||||
)
|
)
|
||||||
|
|
||||||
if params.get('linkage_autodetect', False):
|
if params.get('linkage_autodetect', False):
|
||||||
|
@ -359,4 +359,3 @@ def check_boost(self, *k, **kw):
|
||||||
self.fatal("Could not link against boost libraries using supplied options")
|
self.fatal("Could not link against boost libraries using supplied options")
|
||||||
self.end_msg('ok')
|
self.end_msg('ok')
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue