Skip to content

Commit eb0086c

Browse files
authored
Merge pull request #12344 from meeseeksmachine/auto-backport-of-pr-12321-on-v3.0.x
Backport PR #12321 on branch v3.0.x (maint: setupext.py for freetype had a Catch case for missing ft2build.h)
2 parents 9990884 + 476096b commit eb0086c

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)