diff --git a/glfw/glfw.py b/glfw/glfw.py index 450f58b6a..98e6c1a97 100755 --- a/glfw/glfw.py +++ b/glfw/glfw.py @@ -90,7 +90,7 @@ def cc_version_string(self) -> str: @property def is_gcc(self) -> bool: - return '(GCC)' in self.cc_version_string + return self.cc_version_string.startswith('gcc ') def copy(self) -> 'Env': ans = Env(self.cc, list(self.cppflags), list(self.cflags), list(self.ldflags), dict(self.library_paths), list(self.ldpaths), self.ccver)