Skip to content

Commit 96cbfc5

Browse files
authored
Merge pull request #111 from iMichka/fixcompiler
Fix windows logic on CI
2 parents 3155652 + edf8327 commit 96cbfc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pygccxml/parser/source_reader.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ def __create_command_line_castxml(self, source_file, xmlfile):
123123

124124
# Platform specific options
125125
if platform.system() == 'Windows':
126-
127-
if "mingw" or "g++" or "gcc" in self.__config.compiler_path.lower():
126+
compilers = ("mingw" or "g++" or "gcc")
127+
if compilers in self.__config.compiler_path.lower():
128128
# Look at the compiler path. This is a bad way
129129
# to find out if we are using mingw; but it
130130
# should probably work in most of the cases

0 commit comments

Comments
 (0)