Kaydet (Commit) 0a0e5832 authored tarafından Christian Heimes's avatar Christian Heimes

Fixed bug #1613: Makefile's VPATH feature is broken

üst 2f9ca29d
...@@ -32,7 +32,7 @@ if os.name == "nt" and "pcbuild" in project_base[-8:].lower(): ...@@ -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 # building an extension with an un-installed Python, so we use
# different (hard-wired) directories. # different (hard-wired) directories.
python_build = os.path.isfile(os.path.join(project_base, "Modules", python_build = os.path.isfile(os.path.join(project_base, "Modules",
"Setup.dist")) "Setup.local"))
def get_python_version(): def get_python_version():
......
...@@ -1157,6 +1157,9 @@ fancy you can change the rules to create an empty Setup.local if it ...@@ -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; doesn't exist and run it with arguments $(srcdir)/Setup Setup.local;
however this assumes that you only need to add modules.) 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 Building on non-UNIX systems
---------------------------- ----------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment