File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Original file line number Diff line number Diff line change @@ -697,13 +697,15 @@ def do_custom_build(self, env):
697
697
# Freetype 2.10.0+ support static builds.
698
698
msbuild_config = (
699
699
"Release Static"
700
- if version .parse (LOCAL_FREETYPE_VERSION ) >= version .parse ("2.10.0" )
700
+ if version .parse (LOCAL_FREETYPE_VERSION ) >=
701
+ version .parse ("2.10.0" )
701
702
else "Release"
702
703
)
703
704
704
705
cc .spawn (["msbuild" , str (sln_path ),
705
706
"/t:Clean;Build" ,
706
- f"/p:Configuration={ msbuild_config } ;Platform={ msbuild_platform } " ])
707
+ f"/p:Configuration={ msbuild_config } ;"
708
+ f"Platform={ msbuild_platform } " ])
707
709
# Move to the corresponding Unix build path.
708
710
(src_path / "objs" / ".libs" ).mkdir ()
709
711
# Be robust against change of FreeType version.
@@ -713,7 +715,9 @@ def do_custom_build(self, env):
713
715
p for p in lib_paths
714
716
if msbuild_platform in p .resolve ().as_uri ()
715
717
]
716
- print (f"Copying { lib_path } to { src_path } /objs/.libs/libfreetype.lib" )
718
+ print (
719
+ f"Copying { lib_path } to { src_path } /objs/.libs/libfreetype.lib"
720
+ )
717
721
shutil .copy2 (lib_path , src_path / "objs/.libs/libfreetype.lib" )
718
722
719
723
You can’t perform that action at this time.
0 commit comments