mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 13:02:11 +00:00
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]
This commit is contained in:
@@ -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 ?
|
||||
: <toolset>msvc
|
||||
:
|
||||
: <library-path>$(PYTHON_LIB_PATH)
|
||||
<include>$(PYTHON_INCLUDES)
|
||||
;
|
||||
|
||||
local lib = python$(PYTHON_VERSION_NODOT) ;
|
||||
@@ -226,6 +227,7 @@ rule init-nt ( version : root ? : includes ? : libraries ? : cygwin-condition ?
|
||||
:
|
||||
:
|
||||
: <library-path>$(PYTHON_LIB_PATH)
|
||||
<include>$(PYTHON_INCLUDES)
|
||||
<find-library>$(lib) ;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user