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>
This commit is contained in:
Eric Bélanger 2011-07-06 23:56:18 -04:00 committed by Pierre Schmitz
parent 9a29f624f1
commit 4b24337a51
1 changed files with 2 additions and 2 deletions

4
lddd
View File

@ -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)