From 476096bd4d569c9889af891b6e918d11e74397b0 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 582c7d89c9da..d52cfa3e7f40 100644 --- a/setupext.py +++ b/setupext.py @@ -950,7 +950,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 = subprocess.getstatusoutput(