Skip to content

Commit

Permalink
Merge pull request #101 from RoyVorster/develop
Browse files Browse the repository at this point in the history
Better support for the gnu compiler on Windows
  • Loading branch information
iMichka committed Dec 21, 2019
2 parents 4572c29 + f487b1e commit 3155652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygccxml/parser/source_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def __create_command_line_castxml(self, source_file, xmlfile):
# Platform specific options
if platform.system() == 'Windows':

if "mingw" in self.__config.compiler_path.lower():
if "mingw" or "g++" or "gcc" in self.__config.compiler_path.lower():
# Look at the compiler path. This is a bad way
# to find out if we are using mingw; but it
# should probably work in most of the cases
Expand Down

0 comments on commit 3155652

Please sign in to comment.