From patchwork Wed Jul 13 17:22:21 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: angstrom: glibc: Using config files in /etc/ld.so.conf.d/ Date: Wed, 13 Jul 2011 17:22:21 -0000 From: Howard D. Gray X-Patchwork-Id: 7547 Message-Id: <4E1DD44D.8020307@matrix-vision.de> To: openembedded-devel@lists.openembedded.org 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