makepanda: Fix wrong flag for excluding pythonXX_d.lib

This commit is contained in:
rdb 2024-10-30 13:16:25 +01:00
parent 0ba2aadcd6
commit e238588118
1 changed files with 1 additions and 1 deletions

View File

@ -1967,7 +1967,7 @@ def CompileLink(dll, obj, opts):
if "PYTHON" not in opts:
pythonv = SDK["PYTHONVERSION"].replace('.', '')
if optlevel <= 2:
cmd += ' /NOD:{}d.lib'.format(pythonv)
cmd += ' /NOD:{}_d.lib'.format(pythonv)
else:
cmd += ' /NOD:{}.lib'.format(pythonv)