Commit e778c559 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠
Browse files

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.
parent 8c994a63
Pipeline #33471 passed with stages
in 44 minutes and 51 seconds
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment