diff options
author | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-07-11 10:59:56 (GMT) |
---|---|---|
committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-07-11 10:59:56 (GMT) |
commit | 6504c664dc6f8e8ca2869f761286418486ab36d6 (patch) | |
tree | f56f93c6babe2fcf8a8d6df3a9711acb64b2b26e /Lib/distutils/command | |
parent | 21dc5bacad13bab4517c99e356b3b146a37d1f12 (diff) | |
download | cpython-6504c664dc6f8e8ca2869f761286418486ab36d6.zip cpython-6504c664dc6f8e8ca2869f761286418486ab36d6.tar.gz cpython-6504c664dc6f8e8ca2869f761286418486ab36d6.tar.bz2 |
Merged revisions 73946 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73946 | tarek.ziade | 2009-07-11 12:55:27 +0200 (Sat, 11 Jul 2009) | 1 line
fixed #6459: distutils.command.build_ext.get_export_symbols now uses 'PyInit'
........
Diffstat (limited to 'Lib/distutils/command')
-rw-r--r-- | Lib/distutils/command/build_ext.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py index 6f90499..14c529a 100644 --- a/Lib/distutils/command/build_ext.py +++ b/Lib/distutils/command/build_ext.py @@ -726,7 +726,7 @@ class build_ext(Command): """Return the list of symbols that a shared extension has to export. This either uses 'ext.export_symbols' or, if it's not provided, "PyInit_" + module_name. Only relevant on Windows, where - the .pyd file (DLL) must export the module "init" function. + the .pyd file (DLL) must export the module "PyInit_" function. """ initfunc_name = "PyInit_" + ext.name.split('.')[-1] if initfunc_name not in ext.export_symbols: |