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.
d
1 parent 7b21d7d commit 1ee8230Copy full SHA for 1ee8230
1 file changed
Lib/sysconfig/__init__.py
@@ -408,6 +408,9 @@ def _init_non_posix(vars):
408
# empty string.
409
vars.update(_sysconfig.config_vars())
410
411
+ # Add an underscore to the `d` flag. E.g, `td` -> `t_d`, `d` -> `_d`.
412
+ vars['Py_DEBUG'] = vars['Py_DEBUG'].replace('d', '_d')
413
+
414
vars['LIBDIR'] = _safe_realpath(os.path.join(get_config_var('installed_base'), 'libs'))
415
if hasattr(sys, 'dllhandle'):
416
dllhandle = _winapi.GetModuleFileName(sys.dllhandle)
0 commit comments