From e778c5594f20847b998b8711b901a31cfa11448d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 26 Apr 2019 18:28:04 +0100 Subject: [PATCH] meson: sidplay: use library() instead of shared_module() Like we do for other plugins, and also install a .pc file if we build the plugin statically. --- ext/sidplay/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/sidplay/meson.build b/ext/sidplay/meson.build index a50c9323d3..0b399251ae 100644 --- a/ext/sidplay/meson.build +++ b/ext/sidplay/meson.build @@ -14,12 +14,13 @@ if have_cxx and not get_option('sidplay').disabled() endif if have_sidplay - shared_module('gstsid', 'gstsiddec.cc', + gstsid = library('gstsid', 'gstsiddec.cc', cpp_args : ugly_args, include_directories : [configinc], dependencies : [gstaudio_dep, sidplay_dep], install : true, install_dir : plugins_install_dir) + pkgconfig.generate(gstsid, install_dir : plugins_pkgconfig_install_dir) elif get_option('sidplay').enabled() error('sidplay plugin enabled but dependencies not found') endif