2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-17 01:32:12 +00:00

merged from trunk

[SVN r34853]
This commit is contained in:
Dave Abrahams
2006-08-08 17:56:40 +00:00
parent b604618e59
commit fd82e3c362

View File

@@ -34,6 +34,7 @@ import "class" : new ;
import os ;
import common ;
import toolset : flags ;
import regex ;
# Make this module a project
project.initialize $(__name__) ;
@@ -296,6 +297,7 @@ rule init-nt ( version : root ? : includes ? : libraries ? : cygwin-condition ?
PYTHON_INCLUDES ?= $(root)/include [ GLOB $(root) : PC ] ;
local PYTHON_VERSION_NODOT = [ regex.match ([0-9]+[.][0-9]+).* : $(version) : 1 ] ;
PYTHON_DLL ?= [ GLOB $(PATH) $(Path) : python$(PYTHON_VERSION_NODOT).dll ] ;
PYTHON_DEBUG_DLL ?= [ GLOB $(PATH) $(Path) : python$(PYTHON_VERSION_NODOT)_d.dll ] ;
PYTHON_IMPORT_LIB ?= [ GLOB $(PYTHON_LIB_PATH) : libpython$(PYTHON_VERSION_NODOT).* ] ;