summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index 3ca706c..dc727e8 100755
--- a/configure.py
+++ b/configure.py
@@ -271,7 +271,8 @@ if options.with_gtest:
os.path.join(path, 'src/gtest_main.cc'),
variables=[('cflags', gtest_cflags)])
- test_cflags = cflags + ['-I%s' % os.path.join(path, 'include')]
+ test_cflags = cflags + ['-DGTEST_HAS_RTTI=0',
+ '-I%s' % os.path.join(path, 'include')]
elif platform == 'windows':
test_libs.extend(['gtest_main.lib', 'gtest.lib'])
else: