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 | turn on the passstuffbyref plugin again (diff) | |
download | core-aa458c31a5dfa2be8b6bd8f1b4e402ce8c27edde.tar.gz core-aa458c31a5dfa2be8b6bd8f1b4e402ce8c27edde.zip |
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" |