diff --git a/meson.build b/meson.build index c5948605e9..817af92c29 100644 --- a/meson.build +++ b/meson.build @@ -2979,7 +2979,8 @@ endif qom_ss = qom_ss.apply(config_host, strict: false) libqom = static_library('qom', qom_ss.sources() + genh, dependencies: [qom_ss.dependencies()], - name_suffix: 'fa') + name_suffix: 'fa', + pic: 'AS_SHARED_LIB' in config_host) qom = declare_dependency(link_whole: libqom) event_loop_base = files('event-loop-base.c')