Skip to content

Commit 3bd79f5

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setupext.py

+1-1
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)