Honor ICU_ICUxx_NAME variables in remap-library

This commit is contained in:
Peter Dimov
2023-01-11 18:18:47 +02:00
parent c2b8ea9ac7
commit ef9d856953

View File

@@ -71,13 +71,38 @@ local rule remap-library ( lib )
return "bz2" ;
case "icuuc" :
if [ modules.peek : ICU_ICUUC_NAME ]
{
return [ modules.peek : ICU_ICUUC_NAME ] ;
}
else
{
return "icuuc" ;
}
case "icudt" :
return "icudata" ;
if [ modules.peek : ICU_ICUDT_NAME ]
{
return [ modules.peek : ICU_ICUDT_NAME ] ;
}
else
{
return "icudata" ;
}
case "icuin" :
return "icui18n" ;
if [ modules.peek : ICU_ICUIN_NAME ]
{
return [ modules.peek : ICU_ICUIN_NAME ] ;
}
else
{
return "icui18n" ;
}
case * :