mirror of
https://github.com/php/php-src.git
synced 2024-11-28 12:26:37 +08:00
- quick fix for ICU dlls (better fix with n level deps will be done later)
This commit is contained in:
parent
818c4d75c8
commit
6b2be7c7e9
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user