diff options
author | Tobias Pankrath <tobias@pankrath.net> | 2022-01-29 18:37:52 +0100 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2022-02-06 14:16:51 -0800 |
commit | 91ca3e2d58b2b53d8c907abddc5a246a8e8b9051 (patch) | |
tree | c18dcd8428a1479043b967b2298484f7b34d6347 /mesonbuild | |
parent | a57d6fa51b63178f5762d2aabb446a19a393c8bc (diff) | |
download | meson-91ca3e2d58b2b53d8c907abddc5a246a8e8b9051.zip meson-91ca3e2d58b2b53d8c907abddc5a246a8e8b9051.tar.gz meson-91ca3e2d58b2b53d8c907abddc5a246a8e8b9051.tar.bz2 |
dlang: fix #9250 invalid include flag for root directory
Diffstat (limited to 'mesonbuild')
-rw-r--r-- | mesonbuild/compilers/d.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/compilers/d.py b/mesonbuild/compilers/d.py index bae293e..d94df4b 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], |