From patchwork Thu Jan 3 17:57:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Boccassi X-Patchwork-Id: 49407 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 471EE1B3B0; Thu, 3 Jan 2019 18:57:35 +0100 (CET) Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by dpdk.org (Postfix) with ESMTP id F3A5B1B3AC; Thu, 3 Jan 2019 18:57:33 +0100 (CET) Received: by mail-wm1-f67.google.com with SMTP id m1so29989404wml.2; Thu, 03 Jan 2019 09:57:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=gjXIHENz4Xf3Plvg4IwaPINdQ/3h+N5VATPf2ORxK+Y=; b=eNxVMGpxGre2vc0Jk3j57VG9d+rDtI+4TWrLBfmeILEmMc683Ex2gFD+OjUgUioInW drRvqnEVr8arrDh/An4PYLcEkOubTuWmVf6jtH9uVNx2/queKZz1OUiUkzMEQoSWKEub 1lghMDOfaKTs3TrWu1kg10N8aWTTr36nq/BTLNtGI7nq/qwHZEfDOVLB4i+XXAtdqmcM 12vwbW4gf6E71G73VVsYkOZwQqVwdcHssQfTMctxH1lMbpDfGyokbAFizgBvaSSXcT6j c40LyP/jxG7IOw0Gq0CZQlrcjZ/voRovkjAe9sHU89WsNEI2v6LGw+c2iBTMT32faPqo 164w== X-Gm-Message-State: AJcUukfXjf06eW9mGYaJ003/gVQeXMPQwhT5Fowqu99nQ7TGLLBxhEvl GVLbUKLkfHq2D9+HXg/UdE56xuOqDW0= X-Google-Smtp-Source: ALg8bN41YsCx5oCwLZkObifOIDr3tJjvIJbAMeC18hdj3NUiHXgi+/Hd6kGmVqKDfdFeQeuVQw6Clw== X-Received: by 2002:a1c:c543:: with SMTP id v64mr1907620wmf.123.1546538253210; Thu, 03 Jan 2019 09:57:33 -0800 (PST) Received: from localhost ([80.120.231.178]) by smtp.gmail.com with ESMTPSA id 3sm47638676wmw.46.2019.01.03.09.57.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 Jan 2019 09:57:32 -0800 (PST) From: Luca Boccassi To: dev@dpdk.org Cc: bruce.richardson@intel.com, Luca Boccassi , stable@dpdk.org Date: Thu, 3 Jan 2019 18:57:24 +0100 Message-Id: <20190103175725.5836-1-bluca@debian.org> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 1/2] build: use static deps of libs for pkg-config libs.private 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" Dependencies of the RTE libraries were not being added to the Requires.private field of the pc file since the variable used for dynamic linking was passed to the related field of pkg.generate. Use the static one so that dependencies are included. Fixes: 57ae0ec62620 ("build: add dependency on telemetry to apps with meson") Cc: stable@dpdk.org Signed-off-by: Luca Boccassi --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 7cee3c94a..617e88589 100644 --- a/meson.build +++ b/meson.build @@ -81,7 +81,7 @@ pkg.generate(name: meson.project_name(), filebase: 'lib' + meson.project_name().to_lower(), version: meson.project_version(), libraries: dpdk_libraries, - libraries_private: dpdk_drivers + dpdk_libraries + + libraries_private: dpdk_drivers + dpdk_static_libraries + ['-Wl,-Bdynamic'] + dpdk_extra_ldflags, description: 'The Data Plane Development Kit (DPDK)', subdirs: [get_option('include_subdir_arch'), '.'],