diff options
Diffstat (limited to 'build/common.gypi')
-rw-r--r-- | build/common.gypi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/common.gypi b/build/common.gypi index bd11ee4..101fd46 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -311,10 +311,10 @@ 'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS': 'YES', # -fprofile-arcs 'GCC_GENERATE_TEST_COVERAGE_FILES': 'YES', # -ftest-coverage }, - # Add -lgcov for executables, not for static_libraries. - # This is a delayed conditional. + # Add -lgcov for executables and shared_libraries, not for + # static_libraries. This is a delayed conditional. 'target_conditions': [ - ['_type=="executable"', { + ['_type=="executable" or _type=="shared_library"', { 'xcode_settings': { 'OTHER_LDFLAGS': [ '-lgcov' ] }, }], ], |