[arch-projects] [devtools][PATCH 3/3] lddd: Replace hardcoded list of library directories by those listed in /etc/ld.so.conf.d
Eric Bélanger
snowmaniscool at gmail.com
Wed Jul 6 23:56:18 EDT 2011
Signed-off-by: Eric Bélanger <snowmaniscool at gmail.com>
---
lddd | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lddd b/lddd
index 1bd69a8..de2145c 100755
--- a/lddd
+++ b/lddd
@@ -4,9 +4,9 @@
#
ifs=$IFS
-IFS=':'
+IFS="${IFS}:"
-libdirs='/lib:/usr/lib:/opt/qt/lib:/opt/kde/lib:/usr/lib/libfakeroot:/opt/NX/lib'
+libdirs="/lib /usr/lib $(cat /etc/ld.so.conf.d/*)"
extras=
TEMPDIR=$(mktemp -d /tmp/lddd-script.XXXX)
--
1.7.6
More information about the arch-projects
mailing list