mirror of
https://github.com/php/php-src.git
synced 2025-08-16 22:18:50 +02:00
- MFB; support for copy of ICU DLLS for all ICU versions
This commit is contained in:
parent
1c683b2f0a
commit
d17db34518
1 changed files with 10 additions and 0 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue