@@ -56,7 +56,7 @@ def build_arch(self, arch):
5656 _env = env
5757 )
5858
59- shprint (sh . meson , 'setup' , 'builddir' ,
59+ shprint (self . get_meson_command ( env ) , 'setup' , 'builddir' ,
6060 '--cross-file' , join ("/tmp" , "android.meson.cross" ),
6161 f'--prefix={ install_dir } ' ,
6262 '-Dpng=enabled' ,
@@ -72,14 +72,22 @@ def build_arch(self, arch):
7272 f'-Dfreetype_lib_dir={ lib_dir } ' ,
7373 _env = env )
7474
75- shprint (sh .ninja , '-C' , 'builddir' , '-j' , str (cpu_count ()), _env = env )
75+ shprint (
76+ self .get_ninja_command (env ),
77+ '-C' , 'builddir' , '-j' , str (cpu_count ()),
78+ _env = env
79+ )
7680 # macOS fix: sometimes Ninja creates a dummy 'lib' file instead of a directory.
7781 # So we remove and recreate the install directory using shell commands,
7882 # since os.remove/os.makedirs behave inconsistently in this build env.
7983 shprint (sh .rm , '-rf' , install_dir )
8084 shprint (sh .mkdir , install_dir )
8185
82- shprint (sh .ninja , '-C' , 'builddir' , 'install' , _env = env )
86+ shprint (
87+ self .get_ninja_command (env ),
88+ '-C' , 'builddir' , 'install' ,
89+ _env = env
90+ )
8391
8492
8593recipe = LibCairoRecipe ()
0 commit comments