Revert "build: Ensure that gcov symbols are exposed when needed"

This reverts commit 526b2e8c53.

Commit 0994cc31 was enough to implement the coverage support.
This commit is contained in:
Bastien Nocera
2020-02-05 17:09:19 +01:00
parent 2327307b81
commit b02825620a
2 changed files with 2 additions and 5 deletions

View File

@ -1,7 +1,6 @@
{
global:
pam_*;
__gcov_*;
local:
*;
};

View File

@ -53,8 +53,6 @@ fprintd_deps = declare_dependency(
],
)
symbol_visibility = get_option('b_coverage') ? 'default' : 'hidden'
libfprintd_private = static_library('fprintd-private',
sources: [
'device.c',
@ -64,7 +62,7 @@ libfprintd_private = static_library('fprintd-private',
fprintd_marshal,
],
dependencies: fprintd_deps,
gnu_symbol_visibility: symbol_visibility,
gnu_symbol_visibility: 'hidden',
)
fprintd = executable('fprintd',
@ -77,7 +75,7 @@ fprintd = executable('fprintd',
],
dependencies: fprintd_deps,
link_with: libfprintd_private,
gnu_symbol_visibility: symbol_visibility,
gnu_symbol_visibility: 'hidden',
install: true,
install_dir: fprintd_installdir,
)