@@ -445,9 +445,9 @@ def prepare_static_build(self, build_platform):
445445 subprocess .check_call (['make' , '-j{}' .format (multiprocessing .cpu_count () + 1 )], cwd = str (zlib_dir ), env = env )
446446 subprocess .check_call (['make' , '-j{}' .format (multiprocessing .cpu_count () + 1 ), 'install' ], cwd = str (zlib_dir ), env = env )
447447
448- host_arg = ""
448+ host_arg = []
449449 if cross_compiling :
450- host_arg = '--host={}' .format (cross_compiling .arch )
450+ host_arg = [ '--host={}' .format (cross_compiling .arch )]
451451
452452 self .info ('Building libiconv' )
453453 libiconv_dir = next (self .build_libs_dir .glob ('libiconv-*' ))
@@ -457,7 +457,7 @@ def prepare_static_build(self, build_platform):
457457 prefix_arg ,
458458 '--disable-dependency-tracking' ,
459459 '--disable-shared' ,
460- host_arg ,
460+ * host_arg ,
461461 ],
462462 cwd = str (libiconv_dir ),
463463 env = env ,
@@ -479,7 +479,7 @@ def prepare_static_build(self, build_platform):
479479 '--without-python' ,
480480 '--with-iconv={}' .format (self .prefix_dir ),
481481 '--with-zlib={}' .format (self .prefix_dir ),
482- host_arg ,
482+ * host_arg ,
483483 ],
484484 cwd = str (libxml2_dir ),
485485 env = env ,
@@ -500,7 +500,7 @@ def prepare_static_build(self, build_platform):
500500 '--without-python' ,
501501 '--without-crypto' ,
502502 '--with-libxml-prefix={}' .format (self .prefix_dir ),
503- host_arg ,
503+ * host_arg ,
504504 ],
505505 cwd = str (libxslt_dir ),
506506 env = env ,
@@ -530,7 +530,7 @@ def prepare_static_build(self, build_platform):
530530 '--with-openssl={}' .format (self .prefix_dir ),
531531 '--with-libxml={}' .format (self .prefix_dir ),
532532 '--with-libxslt={}' .format (self .prefix_dir ),
533- host_arg ,
533+ * host_arg ,
534534 ],
535535 cwd = str (xmlsec1_dir ),
536536 env = env ,
0 commit comments