Commit 4b24337a authored by Eric Bélanger's avatar Eric Bélanger Committed by Pierre Schmitz
Browse files

lddd: Replace hardcoded list of library directories by those listed in /etc/ld.so.conf.d

parent 9a29f624
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)