Issue 1089

This commit is contained in:
Thomas Nagy 2011-12-21 08:55:08 +01:00
parent cf601c6d46
commit 8dc822fded
1 changed files with 4 additions and 5 deletions

View File

@ -301,8 +301,8 @@ def check_boost(self, *k, **kw):
'#include <boost/system/error_code.hpp>',
'int main() { boost::system::error_code c; }',
]),
use='BOOST',
execute=True,
use=var,
execute=True, # TODO breaks cross-compilation
)
if 'thread' in params['lib']:
self.check_cxx(
@ -310,8 +310,8 @@ def check_boost(self, *k, **kw):
'#include <boost/thread.hpp>',
'int main() { boost::thread t; }',
]),
use='BOOST',
execute=True,
use=var,
execute=True, # TODO breaks cross-compilation
)
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.end_msg('ok')