From 3bd79f5bcaa221355cd2a93a756bb95552ac024f Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Sat, 29 Sep 2018 16:48:52 -0400 Subject: [PATCH] Backport PR #12321: maint: setupext.py for freetype had a Catch case for missing ft2build.h --- setupext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setupext.py b/setupext.py index 93585262c88f..a5b88064c238 100644 --- a/setupext.py +++ b/setupext.py @@ -1043,7 +1043,7 @@ def check(self): try: check_include_file(get_include_dirs(), 'ft2build.h', 'freetype') except CheckFailed: - check_include_file(get_include_dirs(), 'freetype2\\ft2build.h', 'freetype') + check_include_file(get_include_dirs(), os.path.join('freetype2', 'ft2build.h'), 'freetype') return 'Using unknown version found on system.' status, output = getstatusoutput("freetype-config --ftversion")