Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3bd79f5

Browse files
tacaswellMeeseeksDev[bot]
authored andcommitted
Backport PR #12321: maint: setupext.py for freetype had a Catch case for missing ft2build.h
1 parent 4f1f1a8 commit 3bd79f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setupext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ def check(self):
10431043
try:
10441044
check_include_file(get_include_dirs(), 'ft2build.h', 'freetype')
10451045
except CheckFailed:
1046-
check_include_file(get_include_dirs(), 'freetype2\\ft2build.h', 'freetype')
1046+
check_include_file(get_include_dirs(), os.path.join('freetype2', 'ft2build.h'), 'freetype')
10471047
return 'Using unknown version found on system.'
10481048

10491049
status, output = getstatusoutput("freetype-config --ftversion")

0 commit comments

Comments
 (0)