diff --git a/v2/test/prebuilt/ext/jamfile2.jam b/v2/test/prebuilt/ext/jamfile2.jam index dd79f4ea2..cd59663d6 100644 --- a/v2/test/prebuilt/ext/jamfile2.jam +++ b/v2/test/prebuilt/ext/jamfile2.jam @@ -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 ] { diff --git a/v2/test/prebuilt/ext/jamfile3.jam b/v2/test/prebuilt/ext/jamfile3.jam index f172a89d0..a373a5fb2 100644 --- a/v2/test/prebuilt/ext/jamfile3.jam +++ b/v2/test/prebuilt/ext/jamfile3.jam @@ -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 ] {