[OE-core] [PATCH 1/1] Add support for ld.so.conf.d

Peter Seebach peter.seebach at windriver.com
Mon Jul 28 19:03:50 UTC 2014


On Mon, 28 Jul 2014 11:47:30 -0700
Khem Raj <raj.khem at gmail.com> wrote:

> the patch is good but introducing another variable is not needed you
> can cover it under US_LDCONFIG itself, ldconfig with empty ld.so.conf
> will still parse standard lib search paths anyway

The reason I wanted another variable is to control the creation of a
*non-empty* ld.so.conf that would pick up other config files. The idea
is that if you wanted to add a non-standard library search path, you
could create a file in ld.so.conf.d. I didn't want to make the file
have contents unconditionally.
 
> Secondly when we use ldconfig it generates ld.so.cache under /etc
> so I hope we take care of this when we have ro-rootfs

I assume that's already working for the existing empty ld.so.conf you get
with USE_LDCONFIG=1.

It does occur to me that I don't know whether our cross-ldconfig knows
this syntax. I'll double-check that.

-s
-- 
Listen, get this.  Nobody with a good compiler needs to be justified.



More information about the Openembedded-core mailing list