Skip to content

Commit 4ddc68a

Browse files
authored
Merge pull request #12343 from meeseeksmachine/auto-backport-of-pr-12321-on-v2.2.x
Backport PR #12321 on branch v2.2.x (maint: setupext.py for freetype had a Catch case for missing ft2build.h)
2 parents 4f1f1a8 + 3bd79f5 commit 4ddc68a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)