mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
meson: Add missing libdw knobs
Add the missing meson infrastructure bits for the new libdw
dependency. Model them after the existing capstone knobs.
Fixes: 7c10cb38cc
("accel/tcg: Add debuginfo support")
Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230210005208.438142-1-iii@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
74a1b256d7
commit
bc71d58fd7
3 changed files with 12 additions and 4 deletions
11
meson.build
11
meson.build
|
@ -1649,10 +1649,13 @@ if libbpf.found() and not cc.links('''
|
|||
endif
|
||||
|
||||
# libdw
|
||||
libdw = dependency('libdw',
|
||||
method: 'pkg-config',
|
||||
kwargs: static_kwargs,
|
||||
required: false)
|
||||
libdw = not_found
|
||||
if not get_option('libdw').auto() or have_system or have_user
|
||||
libdw = dependency('libdw',
|
||||
method: 'pkg-config',
|
||||
kwargs: static_kwargs,
|
||||
required: get_option('libdw'))
|
||||
endif
|
||||
|
||||
#################
|
||||
# config-host.h #
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue