From dcf84cf9413e9468eea5dd47cf0464aaf1ffdedd Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Thu, 28 Apr 2005 13:18:52 +0000 Subject: [PATCH] Some hacks to make things "work" on Windows. I'm not really sure what I'm doing, though: this is all black magic, still. [SVN r28513] --- v2/tools/python.jam | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/v2/tools/python.jam b/v2/tools/python.jam index d4416c472..ef141dcb5 100644 --- a/v2/tools/python.jam +++ b/v2/tools/python.jam @@ -179,7 +179,7 @@ rule init-nt ( version : root ? : includes ? : libraries ? : cygwin-condition ? PYTHON_LIB_PATH ?= $(root)/libs [ GLOB $(root) : PCbuild ] ; - PYTHON_INCLUDES ?= $(root)/include ; + PYTHON_INCLUDES ?= $(root)/include [ GLOB $(root) : PC ] ; PYTHON_DLL ?= [ GLOB $(PATH) $(Path) : python$(PYTHON_VERSION_NODOT).dll ] ; PYTHON_DEBUG_DLL ?= [ GLOB $(PATH) $(Path) : python$(PYTHON_VERSION_NODOT)_d.dll ] ; @@ -212,6 +212,7 @@ rule init-nt ( version : root ? : includes ? : libraries ? : cygwin-condition ? : msvc : : $(PYTHON_LIB_PATH) + $(PYTHON_INCLUDES) ; local lib = python$(PYTHON_VERSION_NODOT) ; @@ -226,6 +227,7 @@ rule init-nt ( version : root ? : includes ? : libraries ? : cygwin-condition ? : : : $(PYTHON_LIB_PATH) + $(PYTHON_INCLUDES) $(lib) ; } else