Mercurial > cpython-lru_cache-weakref
changeset 13163:a09e8635534d legacy-trunk
Don't try to guess the name of a .def file -- if one is supplied, use it,
otherwise just generate an '/export:' option.
| author | Greg Ward <gward@python.net> |
|---|---|
| date | Thu, 29 Jun 2000 23:09:20 +0000 |
| parents | c360806c06c7 |
| children | 6faa411c61fb |
| files | Lib/distutils/command/build_ext.py |
| diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/Lib/distutils/command/build_ext.py Thu Jun 29 23:04:59 2000 +0000 +++ b/Lib/distutils/command/build_ext.py Thu Jun 29 23:09:20 2000 +0000 @@ -528,12 +528,6 @@ # kludges; they are to be avoided if possible!) def_file = ext.export_symbol_file - if def_file is None: - source_dir = os.path.dirname (sources[0]) - ext_base = (string.split (ext.name, '.'))[-1] - def_file = os.path.join (source_dir, "%s.def" % ext_base) - if not os.path.exists (def_file): - def_file = None if def_file is not None: extra_args.append ('/DEF:' + def_file)
