From 8d3b22e3ccfb09ef9f99943da4b0bec761d50f55 Mon Sep 17 00:00:00 2001 From: rdb Date: Wed, 2 Dec 2009 12:02:21 +0000 Subject: [PATCH] Add /usr/local/lib to search path, and /usr/PCBSD/local/lib on PC-BSD --- direct/src/p3d/Packager.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/direct/src/p3d/Packager.py b/direct/src/p3d/Packager.py index d270dbbde5..b415f109d8 100644 --- a/direct/src/p3d/Packager.py +++ b/direct/src/p3d/Packager.py @@ -1682,11 +1682,16 @@ class Packager: self.addPosixSearchPath(self.executablePath, "PATH") self.executablePath.appendDirectory('/lib') self.executablePath.appendDirectory('/usr/lib') + self.executablePath.appendDirectory('/usr/local/lib') else: self.addPosixSearchPath(self.executablePath, "LD_LIBRARY_PATH") self.addPosixSearchPath(self.executablePath, "PATH") self.executablePath.appendDirectory('/lib') self.executablePath.appendDirectory('/usr/lib') + self.executablePath.appendDirectory('/usr/local/lib') + + if platform.uname()[1]=="pcbsd": + self.executablePath.appendDirectory('/usr/PCBSD/local/lib') # Set this flag true to automatically add allow_python_dev to # any applications.