BuildFeatures: Enable AVIFTranslator on more than just x86_64.

This commit is contained in:
Augustin Cavalier 2021-10-19 16:54:11 -04:00
parent b6442ab7fa
commit 96b062f1ce

View File

@ -669,19 +669,15 @@ if [ IsPackageAvailable libwebp_devel ] {
# libavif
if [ IsPackageAvailable libavif_devel ] {
if $(HAIKU_PACKAGING_ARCH) = x86_64 {
ExtractBuildFeatureArchives libavif :
file: base libavif
runtime: lib
file: devel libavif_devel
depends: base
library: $(developLibDir)/libavif.so.9
headers: $(developHeadersDir) $(developHeadersDir)/avif
;
EnableBuildFeatures libavif ;
} else {
unavailableBuildFeatures += libavif ;
}
ExtractBuildFeatureArchives libavif :
file: base libavif
runtime: lib
file: devel libavif_devel
depends: base
library: $(developLibDir)/libavif.so.9
headers: $(developHeadersDir) $(developHeadersDir)/avif
;
EnableBuildFeatures libavif ;
} else {
unavailableBuildFeatures += libavif ;
}