diff --git a/mesonbuild/compilers/d.py b/mesonbuild/compilers/d.py index a83c15b64..ff46a2c01 100644 --- a/mesonbuild/compilers/d.py +++ b/mesonbuild/compilers/d.py @@ -105,6 +105,8 @@ class DmdLikeCompilerMixin(CompilerMixinBase): return ['-of=' + outputname] def get_include_args(self, path: str, is_system: bool) -> T.List[str]: + if path == "": + path = "." return ['-I=' + path] def compute_parameters_with_absolute_paths(self, parameter_list: T.List[str],