mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 08:15:40 +02:00
meson: assign get_option('core-plugins-as-shared-libraries') to variable
This commit is contained in:
parent
121b2f1575
commit
08e21a4d3b
4 changed files with 10 additions and 10 deletions
|
@ -32,7 +32,7 @@ foreach mod, data : deps
|
|||
sources = data[0]
|
||||
dep = data[1]
|
||||
|
||||
if get_option('core-plugins-as-shared-libraries')
|
||||
if plugs_as_libs
|
||||
shared_module(mod, '@0@.c'.format(mod), sources,
|
||||
dependencies: [module_sdk] + dep,
|
||||
name_prefix: 'module_',
|
||||
|
@ -51,7 +51,7 @@ if backend_x11
|
|||
sources = data[0]
|
||||
dep = data[1]
|
||||
|
||||
if get_option('core-plugins-as-shared-libraries')
|
||||
if plugs_as_libs
|
||||
shared_module(mod, '@0@.c'.format(mod), sources,
|
||||
dependencies: [module_sdk] + dep,
|
||||
name_prefix: 'module_',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue