tcg: include dependencies in static_library()
This ensures that for example libffi can be reached even if it is not in /usr/include. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
2bfd3c4860
commit
61306156d9
@ -32,19 +32,19 @@ tcg_ss = tcg_ss.apply({})
|
||||
libtcg_user = static_library('tcg_user',
|
||||
tcg_ss.sources() + genh,
|
||||
name_suffix: 'fa',
|
||||
dependencies: tcg_ss.dependencies(),
|
||||
c_args: '-DCONFIG_USER_ONLY',
|
||||
build_by_default: false)
|
||||
|
||||
tcg_user = declare_dependency(link_with: libtcg_user,
|
||||
dependencies: tcg_ss.dependencies())
|
||||
tcg_user = declare_dependency(link_with: libtcg_user)
|
||||
user_ss.add(tcg_user)
|
||||
|
||||
libtcg_system = static_library('tcg_system',
|
||||
tcg_ss.sources() + genh,
|
||||
name_suffix: 'fa',
|
||||
dependencies: tcg_ss.dependencies(),
|
||||
c_args: '-DCONFIG_SOFTMMU',
|
||||
build_by_default: false)
|
||||
|
||||
tcg_system = declare_dependency(link_with: libtcg_system,
|
||||
dependencies: tcg_ss.dependencies())
|
||||
tcg_system = declare_dependency(link_with: libtcg_system)
|
||||
system_ss.add(tcg_system)
|
||||
|
Loading…
Reference in New Issue
Block a user