We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a43008 commit cedd417Copy full SHA for cedd417
makepanda/makepandacore.py
@@ -3362,8 +3362,13 @@ def CalcLocation(fn, ipath):
3362
3363
3364
def FindLocation(fn, ipath, pyabi=None):
3365
- if (GetLinkAllStatic() and fn.endswith(".dll")):
3366
- fn = fn[:-4] + ".lib"
+ if GetLinkAllStatic():
+ if fn.endswith(".dll"):
3367
+ fn = fn[:-4] + ".lib"
3368
+ elif fn.endswith(".pyd"):
3369
+ fn = "libpy.panda3d." \
3370
+ + os.path.splitext(fn[:-4] + GetExtensionSuffix())[0] + ".lib"
3371
+
3372
loc = CalcLocation(fn, ipath)
3373
base, ext = os.path.splitext(fn)
3374
0 commit comments