mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Disable ldconfig use on FreeBSD for now
This commit is contained in:
parent
25d9b0c6bc
commit
0cf2249f7a
@ -1029,11 +1029,7 @@ def GetLibCache():
|
|||||||
if (LD_CACHE == None):
|
if (LD_CACHE == None):
|
||||||
LD_CACHE = []
|
LD_CACHE = []
|
||||||
print "Generating library cache..."
|
print "Generating library cache..."
|
||||||
if (LocateBinary("ldconfig") != None):
|
if (LocateBinary("ldconfig") != None and not sys.platform.startswith("freebsd")):
|
||||||
if (sys.platform.startswith("freebsd")):
|
|
||||||
handle = os.popen(LocateBinary("ldconfig"))
|
|
||||||
else:
|
|
||||||
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]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user