From 0cf2249f7abcc2878056c5e36d2b82d42eb7fcae Mon Sep 17 00:00:00 2001 From: rdb Date: Tue, 19 Jan 2010 17:40:23 +0000 Subject: [PATCH] Disable ldconfig use on FreeBSD for now --- makepanda/makepandacore.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/makepanda/makepandacore.py b/makepanda/makepandacore.py index cd5a632517..313add2381 100644 --- a/makepanda/makepandacore.py +++ b/makepanda/makepandacore.py @@ -1029,11 +1029,7 @@ def GetLibCache(): if (LD_CACHE == None): LD_CACHE = [] print "Generating library cache..." - if (LocateBinary("ldconfig") != None): - if (sys.platform.startswith("freebsd")): - handle = os.popen(LocateBinary("ldconfig")) - else: - handle = os.popen(LocateBinary("ldconfig") + " -NXp") + if (LocateBinary("ldconfig") != None and not sys.platform.startswith("freebsd")): result = handle.read().strip().split("\n") for line in result: lib = line.strip().split(" ", 1)[0]