diff --git a/v2/tools/gcc.jam b/v2/tools/gcc.jam index de66d4cd7..0aac37821 100644 --- a/v2/tools/gcc.jam +++ b/v2/tools/gcc.jam @@ -68,7 +68,7 @@ flags gcc.compile OPTIONS on : -pg ; # But we'll solve that problem when it's time. In that case # we'll just add another parameter to 'init' and move this login # inside 'init'. -if [ os.path ] != CYGWIN +if [ os.name ] != CYGWIN { flags gcc.compile OPTIONS shared/LIB : -fPIC ; }