Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mail.openembedded.org (Postfix) with ESMTP id 7B89260616 for ; Fri, 15 Dec 2017 15:26:33 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Dec 2017 07:26:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,405,1508828400"; d="scan'208";a="2995810" Received: from kanavin-desktop.fi.intel.com (HELO [10.237.68.161]) ([10.237.68.161]) by orsmga007.jf.intel.com with ESMTP; 15 Dec 2017 07:26:33 -0800 To: Ricardo Ribalda Delgado References: <20171116174541.3081-1-ricardo.ribalda@gmail.com> From: Alexander Kanavin Message-ID: <784b237e-8cad-d450-5d23-32adc961110a@linux.intel.com> Date: Fri, 15 Dec 2017 17:27:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Cc: openembedded-core Subject: Re: [PATCH v2] meson: Port pkgconfig-native patch to 0.43.0 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Dec 2017 15:26:33 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit On 11/16/2017 07:57 PM, Ricardo Ribalda Delgado wrote: >>> +Some libraries, like QT, have pre-processors that convert their input >>> +files into something that the cross-compiler can process. We find the >>> +path of those pre-processors via pkg-config-native instead of >>> +pkg-config. >>> + >>> +This path forces the use of pkg-config-native for host_bins arguments. >>> + >>> +There are some discussions upstream to merge this patch, but I presonaly >>> believe >>> +that is is OE only. >>> https://github.com/mesonbuild/meson/issues/1849#issuecomment-303730323 >> >> >> Does the snippet from Martin's patch that I just commented on solve this >> issue in a much simpler way? > > I am afraid not. We need to call pkg-config for getting the -libs > -cflags, et all, and pkg-config-native for --host_bins We cannot use > the same pkg-config for all unfortunatelly. Unfortunately, the same patch needs to be ported again to 0.44.0, as the changes upstream made are non-trivial. Can you do that please? Alex