meson: Use static linking for aml subproject

qemu-extended-key-event
Andri Yngvason 2020-12-06 15:03:57 +00:00
parent 56ffc014ca
commit 31fcdc9d78
1 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,8 @@ else
libvncclient = dependency('libvncclient')
endif
aml_project = subproject('aml', required: false)
aml_project = subproject('aml', required: false,
default_options: ['default_library=static'])
if aml_project.found()
aml = aml_project.get_variable('aml_dep')
else