mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
fix for lib detection
This commit is contained in:
parent
3b07f3a2b4
commit
553b009a24
@ -1081,7 +1081,7 @@ def GetLibCache():
|
||||
result = handle.read().strip().split("\n")
|
||||
for line in result:
|
||||
lib = line.strip().split(" ", 1)[0]
|
||||
if (".so " in lib):
|
||||
if (lib.endswith(".so") or ".so " in lib):
|
||||
lib = lib.split(".so", 1)[0][3:]
|
||||
LD_CACHE.append(lib)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user