File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
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):
697697 # Freetype 2.10.0+ support static builds.
698698 msbuild_config = (
699699 "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" )
701702 else "Release"
702703 )
703704
704705 cc .spawn (["msbuild" , str (sln_path ),
705706 "/t:Clean;Build" ,
706- f"/p:Configuration={ msbuild_config } ;Platform={ msbuild_platform } " ])
707+ f"/p:Configuration={ msbuild_config } ;"
708+ f"Platform={ msbuild_platform } " ])
707709 # Move to the corresponding Unix build path.
708710 (src_path / "objs" / ".libs" ).mkdir ()
709711 # Be robust against change of FreeType version.
@@ -713,7 +715,9 @@ def do_custom_build(self, env):
713715 p for p in lib_paths
714716 if msbuild_platform in p .resolve ().as_uri ()
715717 ]
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+ )
717721 shutil .copy2 (lib_path , src_path / "objs/.libs/libfreetype.lib" )
718722
719723
You can’t perform that action at this time.
0 commit comments