if target_os in targets_need_gtest:
print '*** Checking for installation of google unit test 1.7.0 ***'
-
if not os.path.exists(gtest_dir):
# If the gtest zip file is not already present, download it
if not os.path.exists(gtest_zip_file):
# Run configure on gtest
print 'Configuring google unit test'
if env.get('CROSS_COMPILE'):
- env.Configure(gtest_dir, './configure --host=' + env['CROSS_COMPILE'])
+ env.Configure(gtest_dir, './configure --disable-shared --host=' + env['CROSS_COMPILE'])
else:
- env.Configure(gtest_dir, './configure')
-
+ env.Configure(gtest_dir, './configure --disable-shared')
# Run make on gtest
print 'Making google unit test'
env.Configure(gtest_dir, 'make')