mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
Add /usr/local/lib to search path, and /usr/PCBSD/local/lib on PC-BSD
This commit is contained in:
parent
eaaff62ba5
commit
8d3b22e3cc
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user