pajoye Wed Aug 20 20:09:14 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/win32/build mkdist.php Log: - quick fix for ICU dlls (better fix with n level deps will be done later) http://cvs.php.net/viewvc.cgi/php-src/win32/build/mkdist.php?r1=1.13.4.1.2.2&r2=1.13.4.1.2.3&diff_format=u Index: php-src/win32/build/mkdist.php diff -u php-src/win32/build/mkdist.php:1.13.4.1.2.2 php-src/win32/build/mkdist.php:1.13.4.1.2.3 --- php-src/win32/build/mkdist.php:1.13.4.1.2.2 Tue Aug 5 11:47:17 2008 +++ php-src/win32/build/mkdist.php Wed Aug 20 20:09:13 2008 @@ -1,4 +1,4 @@ -<?php # $Id: mkdist.php,v 1.13.4.1.2.2 2008/08/05 11:47:17 pajoye Exp $ +<?php # $Id: mkdist.php,v 1.13.4.1.2.3 2008/08/20 20:09:13 pajoye Exp $ /* piece together a windows binary distro */ $build_dir = $argv[1]; @@ -294,6 +294,25 @@ } copy($dll, "$dist_dir/" . basename($dll)); } + +$ICU_DLLS = array( + 'icudt36.dll', + 'icuin36.dll', + 'icuio36.dll', + 'icule36.dll', + 'iculx36.dll', + 'icutu36.dll', + 'icuuc36.dll' +); +foreach ($ICU_DLLS as $dll) { + $tdll = '../deps/bin/' . basename($dll); + if (!file_exists($tdll)) { + echo "WARNING: distro depends on $dll, but could not find it on your system\n"; + continue; + } + copy($tdll, "$dist_dir/" . basename($dll)); +} + /* and those for pecl */ foreach ($pecl_dll_deps as $dll) { if (in_array($dll, $extra_dll_deps)) {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php