diff --git a/plugins/dummy/meson.build b/plugins/dummy/meson.build index 2ae87f8..fa9f065 100644 --- a/plugins/dummy/meson.build +++ b/plugins/dummy/meson.build @@ -46,10 +46,11 @@ dummy_sources = files( ] ) -shared_module( +calls_dummy = shared_library( 'dummy', dummy_sources, dependencies: dummy_deps, + link_args: '-Wl,--unresolved-symbols=ignore-in-object-files', include_directories: src_include, install: true, install_dir: dummy_install_dir diff --git a/plugins/mm/meson.build b/plugins/mm/meson.build index 1758536..896f02d 100644 --- a/plugins/mm/meson.build +++ b/plugins/mm/meson.build @@ -46,10 +46,11 @@ mm_sources = files( ] ) -shared_module( +calls_mm = shared_library( 'mm', mm_sources, dependencies: mm_deps, + link_args: '-Wl,--unresolved-symbols=ignore-in-object-files', include_directories: src_include, install: true, install_dir: mm_install_dir diff --git a/plugins/ofono/meson.build b/plugins/ofono/meson.build index fb08127..7f947d9 100644 --- a/plugins/ofono/meson.build +++ b/plugins/ofono/meson.build @@ -46,10 +46,11 @@ ofono_sources = files( ] ) -shared_module( +calls_ofono = shared_library( 'ofono', ofono_sources, gdbofono_headers, dependencies: ofono_deps, + link_args: '-Wl,--unresolved-symbols=ignore-in-object-files', include_directories: [ src_include, include_directories('.') diff --git a/plugins/sip/meson.build b/plugins/sip/meson.build index bec73ed..5faa6d7 100644 --- a/plugins/sip/meson.build +++ b/plugins/sip/meson.build @@ -64,10 +64,11 @@ sip_enums = gnome.mkenums('calls-sip-enums', sip_sources += sip_enums -shared_module( +calls_sip = shared_library( 'sip', sip_sources, dependencies: sip_deps, + link_args: '-Wl,--unresolved-symbols=ignore-in-object-files', include_directories: src_include, install: true, install_dir: sip_install_dir