contrib: create static library for elfparser

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.
This commit is contained in:
Christian Hergert
2023-05-25 14:54:28 -07:00
parent 7ec74308b5
commit 92b3b77dd2
8 changed files with 1061 additions and 3 deletions

View File

@ -33,9 +33,6 @@ libsysprof_analyze_public_sources = [
]
libsysprof_analyze_private_sources = [
'../libsysprof/binfile.c',
'../libsysprof/demangle.cpp',
'../libsysprof/elfparser.c',
'sysprof-address-layout.c',
'sysprof-document-bitset-index.c',
'sysprof-document-symbols.c',
@ -89,6 +86,7 @@ libsysprof_analyze_deps = [
dependency('gio-2.0', version: glib_req_version),
dependency('gtk4', version: gtk_req_version),
libelfparser_static_dep,
libsysprof_capture_dep,
]