From 288807254765b2e74bcefa8f062eb592865776ea Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Tue, 8 Aug 2017 18:35:40 +0200 Subject: [PATCH] meson: underscrorify the module name otherwise we could confuse the prepocessor of c --- src/modules/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/meson.build b/src/modules/meson.build index f22869c68..9b7a80b80 100644 --- a/src/modules/meson.build +++ b/src/modules/meson.build @@ -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))