Add WebPositive catalogs to gcc2hybrid images. Fixes #8846.

This commit is contained in:
Matt Madia 2012-08-18 10:33:39 -04:00
parent 5bde1d438b
commit 467f607aa3

View File

@ -1902,6 +1902,12 @@ if [ IsOptionalHaikuImagePackageAdded WebPositive ] {
Echo "No optional package WebPositive available for gcc2" ;
} else {
Echo "WebPositive will be compiled by gcc4 inside $(HAIKU_ALTERNATIVE_GCC_OUTPUT_DIR)" ;
local catalogs = [ on WebPositive return $(HAIKU_CATALOG_FILES) ] ;
if $(catalogs) {
local signature = x-vnd.Haiku-WebPositive ;
AddFilesToHaikuImage system data locale catalogs $(signature)
: $(catalogs) ;
}
}
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
AddFilesToHaikuHybridImage apps : WebPositive ;