Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: "Howard D. Gray" <howard.gray@matrix-vision.de>
To: openembedded-devel@lists.openembedded.org
Subject: angstrom: glibc: Using config files in /etc/ld.so.conf.d/
Date: Wed, 13 Jul 2011 19:22:21 +0200	[thread overview]
Message-ID: <4E1DD44D.8020307@matrix-vision.de> (raw)

Hi,

IMHO it would be useful if packages could install their own *.conf files
in  /etc/ld.so.conf.d/ so that non-standard directories could also be
used for libraries. Many other distributions allow this by using an
"include" line in /etc/ld.so.conf.

Is there any reason for not doing it like this, for example, and then
letting other packages add *.conf files to the directory as they require ?

---
diff --git a/recipes/glibc/glibc-2.10.1/etc/ld.so.conf
b/recipes/glibc/glibc-2.10.1/etc/ld.so.conf
index 46e06d3..c2ae026 100644
--- a/recipes/glibc/glibc-2.10.1/etc/ld.so.conf
+++ b/recipes/glibc/glibc-2.10.1/etc/ld.so.conf
@@ -1,2 +1,3 @@
 /usr/local/lib
+include /etc/ld.so.conf.d/*.conf






-- 
Howard


MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler
Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner, Erhard Meier



             reply	other threads:[~2011-07-13 17:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-13 17:22 Howard D. Gray [this message]
2011-07-14  1:27 ` angstrom: glibc: Using config files in /etc/ld.so.conf.d/ Mark Hatle
2011-07-14 13:23   ` Howard D. Gray
2011-07-14 15:29     ` Mark Hatle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E1DD44D.8020307@matrix-vision.de \
    --to=howard.gray@matrix-vision.de \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox