summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-12-13 19:23:16 (GMT)
committerChristian Heimes <christian@cheimes.de>2007-12-13 19:23:16 (GMT)
commit0a0e5832590f60371208f96d0e5d43876025960c (patch)
tree4ea529dda675efb29428792c820e09feef00db66
parent2f9ca29d106779d960bf8680ec597ffce5e25d66 (diff)
downloadcpython-0a0e5832590f60371208f96d0e5d43876025960c.zip
cpython-0a0e5832590f60371208f96d0e5d43876025960c.tar.gz
cpython-0a0e5832590f60371208f96d0e5d43876025960c.tar.bz2
Fixed bug #1613: Makefile's VPATH feature is broken
-rw-r--r--Lib/distutils/sysconfig.py2
-rw-r--r--README3
2 files changed, 4 insertions, 1 deletions
diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py
index 2ea7c78..aead1a1 100644
--- a/Lib/distutils/sysconfig.py
+++ b/Lib/distutils/sysconfig.py
@@ -32,7 +32,7 @@ if os.name == "nt" and "pcbuild" in project_base[-8:].lower():
# building an extension with an un-installed Python, so we use
# different (hard-wired) directories.
python_build = os.path.isfile(os.path.join(project_base, "Modules",
- "Setup.dist"))
+ "Setup.local"))
def get_python_version():
diff --git a/README b/README
index 65ae8ed..1ebdcf9 100644
--- a/README
+++ b/README
@@ -1157,6 +1157,9 @@ fancy you can change the rules to create an empty Setup.local if it
doesn't exist and run it with arguments $(srcdir)/Setup Setup.local;
however this assumes that you only need to add modules.)
+Also note that you can't use a workspace for VPATH and non VPATH builds. The
+object files left behind by one version confuses the other.
+
Building on non-UNIX systems
----------------------------