From e3f688e1042b07fa59969b83d6a9977a68e56f0a Mon Sep 17 00:00:00 2001 From: rdb Date: Wed, 20 Jan 2010 10:50:57 +0000 Subject: [PATCH] Oops, I removed one line too much in my last commit --- makepanda/makepandacore.py | 1 + 1 file changed, 1 insertion(+) diff --git a/makepanda/makepandacore.py b/makepanda/makepandacore.py index 313add2381..944f3c4078 100644 --- a/makepanda/makepandacore.py +++ b/makepanda/makepandacore.py @@ -1030,6 +1030,7 @@ def GetLibCache(): LD_CACHE = [] print "Generating library cache..." if (LocateBinary("ldconfig") != None and not sys.platform.startswith("freebsd")): + handle = os.popen(LocateBinary("ldconfig") + " -NXp") result = handle.read().strip().split("\n") for line in result: lib = line.strip().split(" ", 1)[0]