From 478fc766b6bda3e8bac54b11d5e73d792ebc069a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 14 Mar 2024 11:53:44 +0530 Subject: [PATCH] ... --- glfw/glfw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glfw/glfw.py b/glfw/glfw.py index b957bb3c0..766a69c33 100755 --- a/glfw/glfw.py +++ b/glfw/glfw.py @@ -89,7 +89,7 @@ class Env: @property def is_clang(self) -> bool: - return 'clang' in self.cc_version_string.split(maxsplit=1)[0].lower() + return 'clang' in self.cc_version_string.split() 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)