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.
This commit is contained in:
parent
8c994a632b
commit
e778c5594f
@ -14,12 +14,13 @@ if have_cxx and not get_option('sidplay').disabled()
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if have_sidplay
|
if have_sidplay
|
||||||
shared_module('gstsid', 'gstsiddec.cc',
|
gstsid = library('gstsid', 'gstsiddec.cc',
|
||||||
cpp_args : ugly_args,
|
cpp_args : ugly_args,
|
||||||
include_directories : [configinc],
|
include_directories : [configinc],
|
||||||
dependencies : [gstaudio_dep, sidplay_dep],
|
dependencies : [gstaudio_dep, sidplay_dep],
|
||||||
install : true,
|
install : true,
|
||||||
install_dir : plugins_install_dir)
|
install_dir : plugins_install_dir)
|
||||||
|
pkgconfig.generate(gstsid, install_dir : plugins_pkgconfig_install_dir)
|
||||||
elif get_option('sidplay').enabled()
|
elif get_option('sidplay').enabled()
|
||||||
error('sidplay plugin enabled but dependencies not found')
|
error('sidplay plugin enabled but dependencies not found')
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user