diff options
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.py b/configure.py index b8ff1f5..7a79068 100755 --- a/configure.py +++ b/configure.py @@ -253,12 +253,13 @@ if options.with_gtest: path = options.with_gtest gtest_all_incs = '-I%s -I%s' % (path, os.path.join(path, 'include')) + gtest_cflags = '-fvisibility=hidden ' + gtest_all_incs objs += n.build(built('gtest-all.o'), 'cxx', os.path.join(path, 'src/gtest-all.cc'), - variables=[('cflags', gtest_all_incs)]) + variables=[('cflags', gtest_cflags)]) objs += n.build(built('gtest_main.o'), 'cxx', os.path.join(path, 'src/gtest_main.cc'), - variables=[('cflags', gtest_all_incs)]) + variables=[('cflags', gtest_cflags)]) test_cflags = cflags + ['-I%s' % os.path.join(path, 'include')] else: |