pajoye          Tue Aug 26 09:12:22 2008 UTC

  Modified files:              
    /php-src/win32/build        mkdist.php 
  Log:
  - MFB; support for copy of ICU DLLS for all ICU versions
  
http://cvs.php.net/viewvc.cgi/php-src/win32/build/mkdist.php?r1=1.16&r2=1.17&diff_format=u
Index: php-src/win32/build/mkdist.php
diff -u php-src/win32/build/mkdist.php:1.16 php-src/win32/build/mkdist.php:1.17
--- php-src/win32/build/mkdist.php:1.16 Tue Aug  5 11:46:55 2008
+++ php-src/win32/build/mkdist.php      Tue Aug 26 09:12:21 2008
@@ -1,4 +1,4 @@
-<?php # $Id: mkdist.php,v 1.16 2008/08/05 11:46:55 pajoye Exp $
+<?php # $Id: mkdist.php,v 1.17 2008/08/26 09:12:21 pajoye Exp $
 /* piece together a windows binary distro */
 
 $build_dir = $argv[1];
@@ -294,6 +294,16 @@
        }
        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)) {



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to