|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r75032 - trunk/tools/build/v2/test/prebuilt/ext
From: ghost_at_[hidden]
Date: 2011-10-18 04:58:08
Author: vladimir_prus
Date: 2011-10-18 04:58:06 EDT (Tue, 18 Oct 2011)
New Revision: 75032
URL: http://svn.boost.org/trac/boost/changeset/75032
Log:
Adjust the 'prebuilt' test to use the 'os' module, to help Python port.
Text files modified:
trunk/tools/build/v2/test/prebuilt/ext/jamfile2.jam | 4 ++--
trunk/tools/build/v2/test/prebuilt/ext/jamfile3.jam | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/tools/build/v2/test/prebuilt/ext/jamfile2.jam
==============================================================================
--- trunk/tools/build/v2/test/prebuilt/ext/jamfile2.jam (original)
+++ trunk/tools/build/v2/test/prebuilt/ext/jamfile2.jam 2011-10-18 04:58:06 EDT (Tue, 18 Oct 2011)
@@ -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 ]
{
Modified: trunk/tools/build/v2/test/prebuilt/ext/jamfile3.jam
==============================================================================
--- trunk/tools/build/v2/test/prebuilt/ext/jamfile3.jam (original)
+++ trunk/tools/build/v2/test/prebuilt/ext/jamfile3.jam 2011-10-18 04:58:06 EDT (Tue, 18 Oct 2011)
@@ -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 ]
{
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk