From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2 2/2] mk: fix shared library dependencies of drivers Date: Sun, 06 Dec 2015 22:13:55 +0100 Message-ID: <1833541.bjdJfsH0FP@xps13> References: <1449427566-15782-1-git-send-email-thomas.monjalon@6wind.com> <1449427566-15782-2-git-send-email-thomas.monjalon@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Panu Matilainen Return-path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id CEE649197 for ; Sun, 6 Dec 2015 22:15:08 +0100 (CET) Received: by wmvv187 with SMTP id v187so141004387wmv.1 for ; Sun, 06 Dec 2015 13:15:08 -0800 (PST) In-Reply-To: <1449427566-15782-2-git-send-email-thomas.monjalon@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-12-06 19:46, Thomas Monjalon: > From: Panu Matilainen > > Similar to commit 113c8e13c4201eee207723571f83aaf285277d75, but > for bnx2x, pcap, sze2data and xenvirt PMDs. > > Requiring applications to know about library internal details like > dependencies to external helper libraries is a limitation of > static linkage, shared libraries should always know their own > dependencies for sane operation. This is especially highlighted > with dlopen()'ed items, having applications link against about plugin > internal dependencies goes on the side of absurd. > > Note that linking with a shared combined library still requires to > know the internal dependencies. > > Signed-off-by: Panu Matilainen > Signed-off-by: Thomas Monjalon Applied shortly for RC3 preparation.