[Buildroot] [PATCH] target-finalize: fix calling ldconfig
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat Apr 18 13:57:05 UTC 2015
Dear Yann E. MORIN,
On Fri, 17 Apr 2015 18:10:33 +0200, Yann E. MORIN wrote:
> On some systems (e.g. Fedora 20), the build breaks when parsing include
> directives in our /etc/ld.so.conf, with error messages as thus:
>
> /sbin/ldconfig: need absolute file name for configuration file
> when using -r
>
> So, enforce the path to the ld.so.conf file to point to our own, in the
> target/ directory.
>
> Reported-by: Al West <al.west at v-nova.com>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> ---
> Makefile | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
Applied, thanks. But I must admit I would prefer a real overhaul of our
ldconfig handling (that takes into account glibc vs. uclibc vs. musl,
etc.).
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list