- quick fix for ICU dlls (better fix with n level deps will be done later)

This commit is contained in:
Pierre Joye 2008-08-20 20:09:13 +00:00
parent 818c4d75c8
commit 6b2be7c7e9

View File

@ -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)) {