meson: underscrorify the module name
otherwise we could confuse the prepocessor of c
This commit is contained in:
parent
c0e6628651
commit
2888072547
|
@ -81,7 +81,7 @@ foreach m: mods
|
||||||
|
|
||||||
if get_option(opt) == true and disable == false
|
if get_option(opt) == true and disable == false
|
||||||
|
|
||||||
_conf = 'USE_MODULE_' + m.to_upper()
|
_conf = 'USE_MODULE_' + m.underscorify()
|
||||||
_dir = join_paths(dir_module_e, m)
|
_dir = join_paths(dir_module_e, m)
|
||||||
_dir_bin = join_paths(_dir, module_arch)
|
_dir_bin = join_paths(_dir, module_arch)
|
||||||
_inc = include_directories(module_includes2, join_paths('.', m))
|
_inc = include_directories(module_includes2, join_paths('.', m))
|
||||||
|
|
Loading…
Reference in New Issue