meson generic module build - dashify the option string
thanks marcel for the split.
This commit is contained in:
parent
ce3b72e371
commit
669604d1cd
|
@ -7,7 +7,7 @@ foreach m: mods
|
||||||
subdir(m)
|
subdir(m)
|
||||||
|
|
||||||
_module = m
|
_module = m
|
||||||
_opt = m
|
_opt = '-'.join(m.split('_'))
|
||||||
_conf = 'USE_MODULE_' + m.to_upper()
|
_conf = 'USE_MODULE_' + m.to_upper()
|
||||||
_src = [ ]
|
_src = [ ]
|
||||||
foreach s: src
|
foreach s: src
|
||||||
|
|
Loading…
Reference in New Issue