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

Khem Raj raj.khem at gmail.com
Mon Jul 28 18:47:30 UTC 2014


On Mon, Jul 28, 2014 at 11:39 AM, Peter Seebach
<peter.seebach at windriver.com> wrote:
> The default behavior for USE_LDCONFIG is to use an empty ld.so.conf.
> In some cases, it might be desireable to have an ld.so.conf.d directory,
> and inherit files from there. This is a common enough use case to
> justify support in the recipe, but not common enough to make it the
> default. So, eglibc gets a new USE_LDCONFIG_CONF_D value, default 0.
> If it's set to 1, we create the directory and add an "include" line
> for it to ld.so.conf.

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

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



More information about the Openembedded-core mailing list