mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 08:15:40 +02:00
meson: no need to build static libs of plugins
This commit is contained in:
parent
3b48ba7566
commit
2654d37548
2 changed files with 4 additions and 9 deletions
|
@ -9,11 +9,9 @@ foreach deco : ['background', 'stack', 'underline']
|
|||
install: true,
|
||||
install_dir: join_paths(get_option('libdir'), 'f00bar'))
|
||||
else
|
||||
lib = static_library(
|
||||
'decoration_@0@'.format(deco), '@0@.c'.format(deco), dependencies: deco_sdk)
|
||||
|
||||
decorations += [declare_dependency(
|
||||
link_with: lib,
|
||||
sources: '@0@.c'.format(deco),
|
||||
dependencies: deco_sdk,
|
||||
compile_args: '-DHAVE_PLUGIN_@0@'.format(deco.underscorify()))]
|
||||
endif
|
||||
endforeach
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue