Fix build also for secondary arch

Use a variable not affected by MultiArchBuildSetup, so we use the new
libwebp when gcc2 is the main arch, even when building for secondary.
This commit is contained in:
Adrien Destugues 2017-04-08 13:29:49 +02:00
parent ac0cb4e046
commit 2c953daef7

View File

@ -553,7 +553,7 @@ if [ IsPackageAvailable tiff4_devel ] {
# libwebp
if [ IsPackageAvailable libwebp_devel ] {
if $(TARGET_PACKAGING_ARCH) = x86_gcc2 {
if $(HAIKU_PACKAGING_ARCH) = x86_gcc2 {
ExtractBuildFeatureArchives libwebp :
file: base libwebp
runtime: lib