[Buildroot] [PATCH 4/4] bctoolbox: disable rpath

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Feb 15 08:58:00 UTC 2017


Hello,

On Wed, 15 Feb 2017 07:12:28 +0100, Samuel Martin wrote:

> For target package, I think we should not set/force this option by the
> infra because some packages may install some kind-of private libraries
> elsewhere than in /usr/lib and set RPATH to in their binaries to find
> them (e.g.: sudo or iptables, though they are cmake-based packages.).

Hum, I didn't think about this, and you're probably right. If
CMAKE_SKIP_RPATH skips *all* rpath information, including some custom
one like pointing to /usr/lib/<foo>/, then we have to keep it indeed.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the buildroot mailing list