From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by dpdk.org (Postfix) with ESMTP id F1F421BA8F; Fri, 11 Jan 2019 17:12:51 +0100 (CET) Received: by mail-wm1-f66.google.com with SMTP id r24so2356801wmh.0; Fri, 11 Jan 2019 08:12:51 -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=zknlKzWi0s0tXsCiE1WZZAgQBu0wNUy6Ahcce3/itJA=; b=XkyI9NOeN3yYE8PMNtPWQ+cvXW26+T/z722+jaRftqEGtK+K/0IjZwVwLG6aLJrIDx EBOHkHOHIa1tBU2OfjJP24DFlQ/jVrNXSbDuuIXGoT7eVViROzYQ+rjfV0Tx47xtH312 shqOx4Au8wIV+sKatfxX5A/cOypbgxwjLhae9IG0Ft8Qi/5lo5vTaZgD+cgj/jyXdprE J5jhC12uZYEilEXsZwxcB4JivOWiD9wiyRSQHUkQLehoNBReb0dDV5IyWzWTPnZ9Cd+W COjsq//oUvK+AVkJqK7Jq8fubktfUDluANNCElYYgN7uUB18vUKDxwAK2OWPVyTgGrrf mQvA== X-Gm-Message-State: AJcUukcYG30ZA97lbOh0N7BVJkXk2HM3gd9h5fm6ArTajbWx/zjXLFhp 27XWxjBDFwJzv/paJ+s5T6BaOW/UORo= X-Google-Smtp-Source: ALg8bN6cfKdoZiwfhs+XLnv/oyAE47R+EZK4f9JcCGtv/DP4Uhb21noCsgbVLMeBLslYiCze1P1swQ== X-Received: by 2002:a1c:4955:: with SMTP id w82mr2991838wma.33.1547223171134; Fri, 11 Jan 2019 08:12:51 -0800 (PST) Received: from localhost ([2a01:4b00:f419:6f00:8361:8946:ba2b:d556]) by smtp.gmail.com with ESMTPSA id y13sm12760476wme.2.2019.01.11.08.12.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 11 Jan 2019 08:12:49 -0800 (PST) From: Luca Boccassi To: dev@dpdk.org Cc: bruce.richardson@intel.com, Luca Boccassi , stable@dpdk.org Date: Fri, 11 Jan 2019 16:12:44 +0000 Message-Id: <20190111161244.712-1-bluca@debian.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] [PATCH] 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 16:12:52 -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 --- split from the other series, it's a stand-alone non-invasive change 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