From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) by dpdk.org (Postfix) with ESMTP id 95E551B60B; Fri, 11 Jan 2019 13:38:15 +0100 (CET) Received: by mail-wm1-f41.google.com with SMTP id p6so2240026wmc.1; Fri, 11 Jan 2019 04:38:15 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=bnaD1GrRY0zwAwgfqNb3mBiQEAPAmICUlyriDbbLCnQ=; b=bDxWDAPdscv4VyK6MEIbm8g4BBYyLyh/dVmkVIpZi6TYYp4soangj+s+Zwh7+/efgi pCrGV/J+NqWPYiZbIurEF1GNfxUDzE4GBxX6TF9IH7/biIURcKcQPn1oHvxzQZqnB+If z+rMIn2wEEbHp/GvC//+6+wbJ0VAtOdd+U6oqQr+jmZjeHVz5DvjDSUG+2/aL25Gw2s4 ySeC6rLou6SmfpwjaH3S9ADmkXdWqOErlYEBMqAyAzavf1YAITYFU2OVotv0x8Sfu2C5 bUpkrzbFC/Zd6auWrwzIsPMVhKelkXrTiPRg2AHfIqVyI4gd90pF5IXlHc/YohiWWN1D 0Ssg== X-Gm-Message-State: AJcUukfGHLxK9wyhzuZyZwS9tAxbSB6g1AzmpAaC4c0akQoVwJVTuZaT Slr2gVHRRLjFs9r9WuXjlVJ+QIldugg= X-Google-Smtp-Source: ALg8bN4Yey9GCv7TlRUNqmxyLzWYEEmbS980KCkEBv8wFHGzHlxjMAOjtxXYeZbPxz4mmHpfWk7WzQ== X-Received: by 2002:a1c:f509:: with SMTP id t9mr2306603wmh.76.1547210294846; Fri, 11 Jan 2019 04:38:14 -0800 (PST) Received: from localhost ([2a01:4b00:f419:6f00:8361:8946:ba2b:d556]) by smtp.gmail.com with ESMTPSA id 60sm86777386wrb.81.2019.01.11.04.38.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 11 Jan 2019 04:38:13 -0800 (PST) From: Luca Boccassi To: dev@dpdk.org Cc: bruce.richardson@intel.com, Luca Boccassi , stable@dpdk.org Date: Fri, 11 Jan 2019 12:38:07 +0000 Message-Id: <20190111123809.8789-1-bluca@debian.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190103175725.5836-1-bluca@debian.org> References: <20190103175725.5836-1-bluca@debian.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] [PATCH v2 1/3] build: use static deps of libs for pkg-config libs.private X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jan 2019 12:38:15 -0000 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 426e0bf3a..d500507c5 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). Note that CFLAGS might contain an -march flag higher than typical baseline. -- 2.20.1