summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2008-08-26 09:12:21 +0000
committerPierre Joye <pajoye@php.net>2008-08-26 09:12:21 +0000
commitd17db34518fa177e093dd64a1a1cec81eb35cd6c (patch)
treeef001e20528d9cc488b8c369b8cd15464af904fc
parent1c683b2f0ac061de5fb43cdba19c0d8eff893275 (diff)
downloadphp-git-d17db34518fa177e093dd64a1a1cec81eb35cd6c.tar.gz
- MFB; support for copy of ICU DLLS for all ICU versions
-rw-r--r--win32/build/mkdist.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/win32/build/mkdist.php b/win32/build/mkdist.php
index cf30bfcb9a..ecce8e476a 100644
--- a/win32/build/mkdist.php
+++ b/win32/build/mkdist.php
@@ -294,6 +294,16 @@ foreach ($extra_dll_deps as $dll) {
}
copy($dll, "$dist_dir/" . basename($dll));
}
+
+/* TODO:
+add sanity check and test if all required DLLs are present, per version
+This version works at least for 3.6, 3.8 and 4.0 (5.3-vc6, 5.3-vc9 and HEAD).
+*/
+$ICU_DLLS = '../deps/bin/' . 'icudt*.dll';
+foreach (glob($ICU_DLLS) as $filename) {
+ copy($filename, "$dist_dir/" . basename($dll));
+}
+
/* and those for pecl */
foreach ($pecl_dll_deps as $dll) {
if (in_array($dll, $extra_dll_deps)) {