meson generic module build - dashify the option string

thanks marcel for the split.
This commit is contained in:
Carsten Haitzler 2017-07-27 18:37:56 +09:00
parent ce3b72e371
commit 669604d1cd
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ foreach m: mods
subdir(m)
_module = m
_opt = m
_opt = '-'.join(m.split('_'))
_conf = 'USE_MODULE_' + m.to_upper()
_src = [ ]
foreach s: src