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:
@@ -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 ]
|
||||
{
|
||||
|
||||
@@ -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 ]
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user