meson: underscrorify the module name

otherwise we could confuse the prepocessor of c
This commit is contained in:
Marcel Hollerbach 2017-08-08 18:35:40 +02:00
parent c0e6628651
commit 2888072547
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ foreach m: mods
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_bin = join_paths(_dir, module_arch)
_inc = include_directories(module_includes2, join_paths('.', m))