From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3D12FA09D3; Thu, 12 Nov 2020 15:41:19 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 209055928; Thu, 12 Nov 2020 15:41:18 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id 311544CA6 for ; Thu, 12 Nov 2020 15:41:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605192073; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ryZLCwOeRlrAHf/M76zTne9k+hi0Ay7+gxbgj3txU6o=; b=WGfR7rRiLjzYoH0QhiepmdFKmaNy6Cpj/tGMNxEF6eotlPjioh1k/KUNVIYKurq/sWz6d4 kUwjSG4tMcltL2P4oSRzTfOXT7u7NapC1E8TYWyWAQHfwM7gCIPBpJQo8QAQaHXAg6ix57 /AK1PKvDu48dZrFYMSWqBx1Xb1ovpqk= Received: from mail-vk1-f198.google.com (mail-vk1-f198.google.com [209.85.221.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-207-VZMWqv-JM62OhhNoC2EuIw-1; Thu, 12 Nov 2020 09:41:12 -0500 X-MC-Unique: VZMWqv-JM62OhhNoC2EuIw-1 Received: by mail-vk1-f198.google.com with SMTP id q62so1120580vka.22 for ; Thu, 12 Nov 2020 06:41:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ryZLCwOeRlrAHf/M76zTne9k+hi0Ay7+gxbgj3txU6o=; b=E3G1qZZlh/787hKEFA/8bN/+gKL4KrZirkPRQbGKrFzgXFx48Krf9gawkP/IYRcI0r UnQsUTC1OMkTmKWQGDctN1OA+EdgM8R243KULVn9EJS7Ik+TOcyFo+zqzVkkm7BSfF26 GuKCzuj2LAv24uMHTBd5MgiOsyuCq4m6lIANUcxXQjrSEewydpNYJUnNp4vEqXiVTx7o BNK88MGyWl/JiBxhk4fLpR18I2pDzLXcrRsRHC+NMrAW9jPWwIUluFk7QbUIlrS4+OuJ lPCIXqi0mE9MyFobQHJbf1cxNnHU09VBcPJY0/eaxgsBH9yrMlHaqYkdCmcbOh1ttLXq iMVQ== X-Gm-Message-State: AOAM530+LzSOm2faLcdURM2b+G6UnH8xoygvU2vg9wRzudjrU7vClO0a XkZl6LIRobk54oTdsfT6fJAP3q3VMFH2VLr0VaRrUJhz0QuEhtNUYWyrlDjWu8bLAOw8peyg4iV Llf2PEzX3nBjhl58OSu4= X-Received: by 2002:a05:6102:2362:: with SMTP id o2mr14184365vsa.5.1605192070699; Thu, 12 Nov 2020 06:41:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJyO59zXUu610YoXA+GY7P99b3Ays+qT9XI4lviSbPfKDYtM1HCqytiXBoG5+CCa111LWMSL/kefIqAPkkPoeC4= X-Received: by 2002:a05:6102:2362:: with SMTP id o2mr14184346vsa.5.1605192070507; Thu, 12 Nov 2020 06:41:10 -0800 (PST) MIME-Version: 1.0 References: <20201027173836.891184-1-bruce.richardson@intel.com> <2421980.ZJesrIL0Ng@thomas> <20201110141900.GH1641@bricha3-MOBL.ger.corp.intel.com> <4260818.77I6s4UBcg@thomas> In-Reply-To: <4260818.77I6s4UBcg@thomas> From: David Marchand Date: Thu, 12 Nov 2020 15:40:59 +0100 Message-ID: To: Thomas Monjalon Cc: Bruce Richardson , dev Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] devtools/test-meson-builds: allow custom set of examples X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Nov 10, 2020 at 3:36 PM Thomas Monjalon wrote: > PKG_CONFIG_PATH=../dpdk-build/build-x86-default/meson-private \ > pkg-config --define-prefix --libs-only-L libdpdk > -L/usr/local/lib > > Oh! I am testing on the build directory instead of installed one. > > PKG_CONFIG_PATH=../dpdk-build/build-x86-default/install/usr/local/lib/pkgconfig \ > pkg-config --define-prefix --libs-only-L libdpdk > -L../dpdk-build/build-x86-default/install/usr/local/lib > > Good :) > Now THE question: what is the difference between these two .pc files? I moved libdpdk{,-libs}.pc files in different folders. pkg-config seems to check the path to the .pc files to decide what to return. There seems to be a combination of having $prefix in the path and /pkgconfig as the last directory. -- David Marchand