From 1318e8f1ae476776c7fc6f795e0c7f6ce709cd6b Mon Sep 17 00:00:00 2001 From: Nick Papior Date: Fri, 28 Sep 2018 15:29:31 +0200 Subject: [PATCH] maint: setupext.py for freetype had a Catch case for missing ft2build.h The error was that the path was constructed manually with '\'. This is now fixed to use os.path.join Signed-off-by: Nick Papior --- setupext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setupext.py b/setupext.py index f43b5f92f2c1..727f67351d3a 100644 --- a/setupext.py +++ b/setupext.py @@ -906,7 +906,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(