]> granicus.if.org Git - python/commit
[Bug #599248] ext module generation problem
authorAndrew M. Kuchling <amk@amk.ca>
Thu, 14 Nov 2002 01:29:00 +0000 (01:29 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Thu, 14 Nov 2002 01:29:00 +0000 (01:29 +0000)
commit9a38dcf05743347c556660347a014620e3625949
tree4cd77c83eb769994663d6bb8d05f01967617774a
parentb2db587b118b1ebb90d20d724bbb826290d83c35
[Bug #599248] ext module generation problem

If you have source files srcdir1/foo.c and srcdir2/foo.c, the
temporary .o for both files is written to build/temp.<platform>/foo.o.
This patch sets strip_dir to false for both calls to object_filename,
so now the object files are written to temp.<platform>/srcdir1/foo.o
and .../srcdir2/foo.o.

2.2 bugfix candidate
Lib/distutils/ccompiler.py