- 'gtk2/lib/iconv.dll', ]:
- cmd = 'cp -v "%s" installs' % os.path.join( srcdir, f )
- print cmd
- ret = os.system( cmd )
- if ( ret != 0 ):
- raise Exception( 'runtime file copy failed' )
+ 'gtk2/lib/iconv.dll',
+ 'gtk2/zlib1.dll',
+ 'freetype-dev_2.4.2-1_win32/bin/freetype6.dll',
+ 'fontconfig-dev_2.8.0-2_win32/bin/libfontconfig-1.dll',
+ 'expat_2.0.1-1_win32/bin/libexpat-1.dll',
+ ]:
+ cmd = [ 'cp', '-v', os.path.join( srcdir, f ), 'install' ]
+ print( repr( cmd ) )
+ subprocess.check_call( cmd )