summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2008-08-20 20:09:13 +0000
committerPierre Joye <pajoye@php.net>2008-08-20 20:09:13 +0000
commit6b2be7c7e96beb58de6d59e74055d2046b433815 (patch)
treef7f730fa0a2efca5fc7ed4b446ec99fcaa46f08a
parent818c4d75c8ca91c6d8dc30667ff06b101e02cd2b (diff)
downloadphp-git-6b2be7c7e96beb58de6d59e74055d2046b433815.tar.gz
- quick fix for ICU dlls (better fix with n level deps will be done later)
-rw-r--r--win32/build/mkdist.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/win32/build/mkdist.php b/win32/build/mkdist.php
index cf30bfcb9a..ccb786c927 100644
--- a/win32/build/mkdist.php
+++ b/win32/build/mkdist.php
@@ -294,6 +294,25 @@ foreach ($extra_dll_deps as $dll) {
}
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)) {