cvs: php-src(PHP_5_3) /win32/build mkdist.php
| From: | Pierre-Alain Joye | Date: | Wed, 20 Aug 2008 20:09:14 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /win32/build mkdist.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-52535@lists.php.net to get a copy of this message | ||
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)) {