mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
build: ensure symbols are exported for libsysprof-6
This fixes an issue where the symbols are not getting T as they are dropped when pulling in the static archive. This compiles twice, but that is fine for now until we come up with something better in the long run.
This commit is contained in:
@ -207,6 +207,7 @@ libsysprof_static = static_library(
|
||||
libsysprof_capture_include_dirs],
|
||||
dependencies: libsysprof_deps,
|
||||
gnu_symbol_visibility: 'hidden',
|
||||
c_args: release_flags,
|
||||
)
|
||||
|
||||
libsysprof_static_dep = declare_dependency(
|
||||
@ -218,11 +219,19 @@ libsysprof_static_dep = declare_dependency(
|
||||
)
|
||||
|
||||
libsysprof = library('sysprof-@0@'.format(soname_major_version),
|
||||
dependencies: [libsysprof_static_dep],
|
||||
libsysprof_public_sources +
|
||||
libsysprof_private_sources +
|
||||
libsysprof_enums,
|
||||
libsysprof_resources,
|
||||
|
||||
include_directories: [include_directories('.'),
|
||||
libsysprof_capture_include_dirs],
|
||||
dependencies: libsysprof_deps,
|
||||
gnu_symbol_visibility: 'hidden',
|
||||
version: '@0@.0.0'.format(soname_major_version),
|
||||
darwin_versions: '@0@.0'.format(soname_major_version),
|
||||
install: get_option('libsysprof'),
|
||||
c_args: release_flags,
|
||||
)
|
||||
|
||||
libsysprof_dep = declare_dependency(
|
||||
|
||||
Reference in New Issue
Block a user