diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-04-14 12:23:57 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-04-14 12:26:05 +0200 |
commit | aa458c31a5dfa2be8b6bd8f1b4e402ce8c27edde (patch) | |
tree | c841caf140a87733dd0739cefa70eddc69e8f9e6 | |
parent | b0c435f88b25cc4e6f0bdd582b8c3eed9c24be9c (diff) |
don't export the same lib multiple times
Change-Id: I4201246b2a1692c6edffa962de49d032fd825b70
-rwxr-xr-x | bin/gbuild-to-ide | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide index ba683a96fec3..169cd164a8f8 100755 --- a/bin/gbuild-to-ide +++ b/bin/gbuild-to-ide @@ -430,7 +430,7 @@ class VimIntegrationGenerator(IdeIntegrationGenerator): def emit(self): global_list = [] - for lib in self.gbuildparser.libs: + for lib in set(self.gbuildparser.libs): entries = [] for file in lib.cxxobjects: filePath = os.path.join(self.gbuildparser.srcdir, file) + ".cxx" |