mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
another bugfix for osx
This commit is contained in:
parent
e1cd2f3d84
commit
933899dca7
@ -901,9 +901,9 @@ 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):
|
||||
if (LocateBinary("ldconfig") != None):
|
||||
LD_CACHE = []
|
||||
handle = os.popen(LocateBinary("ldconfig") + " -NXp")
|
||||
result = handle.read().strip().split("\n")
|
||||
for line in result:
|
||||
|
Loading…
x
Reference in New Issue
Block a user