From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: JSON compilation in examples/vm_power_manager Date: Thu, 01 Nov 2018 11:47:23 +0100 Message-ID: <8756945.B50ulyzTOh@xps> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: david.hunt@intel.com Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 53AB95F21 for ; Thu, 1 Nov 2018 11:47:26 +0100 (CET) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Dave, In examples/vm_power_manager/Makefile, jansson lib availability is detected with pkg-config --exists. As we have seen for telemetry lib, we can detect jansson for the wrong arch and enable it no matter the arch being compiled. The solution was to disable it in Makefile and use meson for reliable dependency detection. Would you like to do the same for this app?