From 2c953daef7a4feb73f77442ce50aed2f109a8f12 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sat, 8 Apr 2017 13:29:49 +0200 Subject: [PATCH] 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. --- build/jam/BuildFeatures | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/jam/BuildFeatures b/build/jam/BuildFeatures index 39bd209cd3..de8f41359c 100644 --- a/build/jam/BuildFeatures +++ b/build/jam/BuildFeatures @@ -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