mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
parent
0a43008313
commit
cedd4172c4
@ -3362,8 +3362,13 @@ def CalcLocation(fn, ipath):
|
|||||||
|
|
||||||
|
|
||||||
def FindLocation(fn, ipath, pyabi=None):
|
def FindLocation(fn, ipath, pyabi=None):
|
||||||
if (GetLinkAllStatic() and fn.endswith(".dll")):
|
if GetLinkAllStatic():
|
||||||
|
if fn.endswith(".dll"):
|
||||||
fn = fn[:-4] + ".lib"
|
fn = fn[:-4] + ".lib"
|
||||||
|
elif fn.endswith(".pyd"):
|
||||||
|
fn = "libpy.panda3d." \
|
||||||
|
+ os.path.splitext(fn[:-4] + GetExtensionSuffix())[0] + ".lib"
|
||||||
|
|
||||||
loc = CalcLocation(fn, ipath)
|
loc = CalcLocation(fn, ipath)
|
||||||
base, ext = os.path.splitext(fn)
|
base, ext = os.path.splitext(fn)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user