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

Skip to content

Commit abfcde6

Browse files
committed
Merge pull request #3157 from tacaswell/win_build_fix
BLD : fix build on windows
2 parents 47a36ba + 4f08f74 commit abfcde6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setupext.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,8 @@ def add_flags(self, ext):
918918
alt_exec='freetype-config')
919919

920920
def get_extension(self):
921+
if sys.platform == 'win32':
922+
return None
921923
ext = make_extension('freetype2', [])
922924
self.add_flags(ext)
923925
return ext

0 commit comments

Comments
 (0)