瀏覽代碼

Oops, I removed one line too much in my last commit

rdb 16 年之前
父節點
當前提交
e3f688e104
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      makepanda/makepandacore.py

+ 1 - 0
makepanda/makepandacore.py

@@ -1030,6 +1030,7 @@ def GetLibCache():
         LD_CACHE = []
         print "Generating library cache..."
         if (LocateBinary("ldconfig") != None and not sys.platform.startswith("freebsd")):
+            handle = os.popen(LocateBinary("ldconfig") + " -NXp")
             result = handle.read().strip().split("\n")
             for line in result:
                 lib = line.strip().split(" ", 1)[0]