Skip to content

Commit 3155652

Browse files
authored
Merge pull request #101 from RoyVorster/develop
Better support for the gnu compiler on Windows
2 parents 4572c29 + f487b1e commit 3155652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygccxml/parser/source_reader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def __create_command_line_castxml(self, source_file, xmlfile):
124124
# Platform specific options
125125
if platform.system() == 'Windows':
126126

127-
if "mingw" in self.__config.compiler_path.lower():
127+
if "mingw" or "g++" or "gcc" 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)