From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (dan.rpsys.net [93.97.175.187]) by mail.openembedded.org (Postfix) with ESMTP id EE8766002A for ; Sun, 19 Jan 2014 17:14:23 +0000 (UTC) Received: from localhost (dan.rpsys.net [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-2.1ubuntu4) with ESMTP id s0JHEIqs011580; Sun, 19 Jan 2014 17:14:18 GMT X-Virus-Scanned: Debian amavisd-new at dan.rpsys.net Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id pdmG_zLUg1HG; Sun, 19 Jan 2014 17:14:17 +0000 (GMT) Received: from [192.168.3.10] (rpvlan0 [192.168.3.10]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-2.1ubuntu1) with ESMTP id s0JHDpK0011573 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 19 Jan 2014 17:13:53 GMT Message-ID: <1390151625.874.16.camel@ted> From: Richard Purdie To: Martin Jansa Date: Sun, 19 Jan 2014 17:13:45 +0000 In-Reply-To: References: X-Mailer: Evolution 3.8.4-0ubuntu1 Mime-Version: 1.0 Cc: openembedded-core@lists.openembedded.org Subject: Re: [PATCH 3/5] package.bbclass: add SHLIBSSEARCHDIRS to define where to search for shlib providers X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2014 17:14:24 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Sat, 2014-01-18 at 15:02 +0100, Martin Jansa wrote: > * when package contains some files matching "^.*\.so", but in directory > not default linker search paths (e.g. /opt/package/bundled-lib/libfoo.so) > don't register it as libfoo provider, because it's possible that there > is different package providing libfoo.so in ${libdir} and that would > be better shlib provider for other packages to depend on > * recipes providing libs intentionally in some other directory can > define own SHLIBSSEARCHDIRS value > > [YOCTO #4628] > > Signed-off-by: Martin Jansa > --- > meta/classes/package.bbclass | 26 +++++++++++++++++++++++--- > 1 file changed, 23 insertions(+), 3 deletions(-) Doesn't this mean we lose automatic dependencies for libraries not in the default system paths after this change? We should really be respecting the libraries RPATH in this code and searching the places it will look... Cheers, Richard