diff options
Diffstat (limited to 'bin/gbuild-to-ide')
-rwxr-xr-x | bin/gbuild-to-ide | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide index 3c40b551fd24..f6835bd53a0e 100755 --- a/bin/gbuild-to-ide +++ b/bin/gbuild-to-ide @@ -448,6 +448,11 @@ class VimIntegrationGenerator(IdeIntegrationGenerator): if value is not None: command += '=' command += value + + # The directory of the file is missing from lib's include list, as that + # one is not the same for all source files in the lib. + command += ' -I' + os.path.dirname(file) + for include in lib.include: command += ' -I' command += include |