Skip to content

Commit 476096b

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 2efbdd6 commit 476096b

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
@@ -950,7 +950,7 @@ def check(self):
950950
try:
951951
check_include_file(get_include_dirs(), 'ft2build.h', 'freetype')
952952
except CheckFailed:
953-
check_include_file(get_include_dirs(), 'freetype2\\ft2build.h', 'freetype')
953+
check_include_file(get_include_dirs(), os.path.join('freetype2', 'ft2build.h'), 'freetype')
954954
return 'Using unknown version found on system.'
955955

956956
status, output = subprocess.getstatusoutput(

0 commit comments

Comments
 (0)