mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
I want to move a bunch of this "contrib" style sources into their own area so we can statically link them but keep them separate from main sysprof code.
20 lines
478 B
Meson
20 lines
478 B
Meson
libelfparser_sources = [
|
|
'demangle.cpp',
|
|
'elfparser.c',
|
|
]
|
|
|
|
libelfparser_deps = [
|
|
dependency('glib-2.0', version: glib_req_version),
|
|
]
|
|
|
|
libelfparser_static = static_library('elfparser', libelfparser_sources,
|
|
dependencies: libelfparser_deps,
|
|
gnu_symbol_visibility: 'hidden',
|
|
)
|
|
|
|
libelfparser_static_dep = declare_dependency(
|
|
include_directories: include_directories('.'),
|
|
dependencies: libelfparser_deps,
|
|
link_with: libelfparser_static,
|
|
)
|