From ac4f2a3d3765aa46fd00f396847ed1b46f72e0cd Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 21 Sep 2009 10:52:08 +0000 Subject: [PATCH] ld cache fix --- makepanda/makepandacore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepanda/makepandacore.py b/makepanda/makepandacore.py index 56fd1fd130..470cc5752d 100644 --- a/makepanda/makepandacore.py +++ b/makepanda/makepandacore.py @@ -901,8 +901,8 @@ STATIC_CACHE = None def GetLdCache(): # Returns a list of cached libraries, not prefixed by lib and not suffixed by .so* or .a! global LD_CACHE - LD_CACHE = [] if (LD_CACHE == None): + LD_CACHE = [] if (LocateBinary("ldconfig") != None): handle = os.popen(LocateBinary("ldconfig") + " -NXp") result = handle.read().strip().split("\n")