Oops, I removed one line too much in my last commit

This commit is contained in:
rdb 2010-01-20 10:50:57 +00:00
parent 5f0d9ca5d7
commit e3f688e104

View File

@ -1030,6 +1030,7 @@ def GetLibCache():
LD_CACHE = [] LD_CACHE = []
print "Generating library cache..." print "Generating library cache..."
if (LocateBinary("ldconfig") != None and not sys.platform.startswith("freebsd")): if (LocateBinary("ldconfig") != None and not sys.platform.startswith("freebsd")):
handle = os.popen(LocateBinary("ldconfig") + " -NXp")
result = handle.read().strip().split("\n") result = handle.read().strip().split("\n")
for line in result: for line in result:
lib = line.strip().split(" ", 1)[0] lib = line.strip().split(" ", 1)[0]