[issue4120] Do not embed manifest files in *.pyd when compiling with MSVC
Andre Heider
report at bugs.python.org
Wed Oct 22 10:33:06 CEST 2008
Andre Heider <a.heider at gom.com> added the comment:
Skipping the mt.exe call seems fine to me, but there's another solution
which might be better:
The automatic manifest binding comes from a "#pragma
comment(linker,"/manifestdependency:" directive in crtdefs.h. That can
be disabled by setting _CRT_NOFORCE_MANIFEST. This way all other
manifest dependencies stay in tact and it could be set for *.pyd builds
(instead of my patch).
TCL's manifest is a different problem. I do not use tkinter, but
according to PCbuild/readme.txt it should be possible to get rid of the
CRT dependency the same way: just set _CRT_NOFORCE_MANIFEST in the nmake
line.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4120>
_______________________________________
More information about the Python-bugs-list
mailing list