2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 00:52:16 +00:00

Adjust the 'prebuilt' test to use the 'os' module, to help Python port.

[SVN r75032]
This commit is contained in:
Vladimir Prus
2011-10-18 08:58:06 +00:00
parent 9dde3e0a91
commit 04528b6ec7
2 changed files with 4 additions and 4 deletions

View File

@@ -1,9 +1,9 @@
import modules ;
import os ;
local dll-suffix = so ;
local prefix = "" ;
if [ modules.peek : OS ] in CYGWIN NT
if [ os.name ] in CYGWIN NT
{
if [ MATCH ^(gcc) : $toolset ]
{

View File

@@ -3,11 +3,11 @@
# it tries to access prebuilt targets using absolute
# paths. It used to be broken on Windows.
import modules ;
import os ;
local dll-suffix = so ;
local prefix = "" ;
if [ modules.peek : OS ] in CYGWIN NT
if [ os.name ] in CYGWIN NT
{
if [ MATCH ^(gcc) : $toolset ]
{