Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Bélanger <snowmaniscool@gmail.com>2011-07-06 23:56:18 -0400
committerPierre Schmitz <pierre@archlinux.de>2011-07-25 18:01:18 +0200
commit4b24337a51b49a70c3b45f2327c663a3bc5bb1bf (patch)
tree1e2c166e452a99f816ac63ef5d266653689460a1
parent9a29f624f124b9e33e530a7fd4d7543f68977c2f (diff)
lddd: Replace hardcoded list of library directories by those listed in /etc/ld.so.conf.d
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-rwxr-xr-xlddd4
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)