From 79e2c906d8986bac48c60d17c4ae0ebb29ba91af Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Thu, 18 Apr 2002 04:00:30 +0000 Subject: [PATCH] *** empty log message *** [SVN r13520] --- python.jam | 21 ++++++++++++--------- v1/python.jam | 21 ++++++++++++--------- 2 files changed, 24 insertions(+), 18 deletions(-) diff --git a/python.jam b/python.jam index e8e1fd003..f5356fc84 100644 --- a/python.jam +++ b/python.jam @@ -145,23 +145,26 @@ rule select-python-includes ( toolset variant : properties * ) return $(properties) ; } -PYTHON_PROPERTIES - += - <*>util +PYTHON_PROPERTIES += + <*>util $(BOOST_ROOT) select-python-library - # These two compilers pick up implicit directions from #pragmas - # to look for those libraries. - <*>$(PYTHON_LIB_PATH) - <*>$(PYTHON_LIB_PATH) - <*>$(PYTHON_LIB_PATH) - ; + ; +if $(NT) +{ + # Most Windows compilers pick up implicit directions from #pragmas + # to look for those libraries. + PYTHON_PROPERTIES += $(PYTHON_LIB_PATH) ; +} + +# Set gcc-specific release build properties { local gcc-release-properties = speed -fomit-frame-pointer on -foptimize-sibling-calls ; + PYTHON_PROPERTIES += $(gcc-release-properties) ; } diff --git a/v1/python.jam b/v1/python.jam index e8e1fd003..f5356fc84 100644 --- a/v1/python.jam +++ b/v1/python.jam @@ -145,23 +145,26 @@ rule select-python-includes ( toolset variant : properties * ) return $(properties) ; } -PYTHON_PROPERTIES - += - <*>util +PYTHON_PROPERTIES += + <*>util $(BOOST_ROOT) select-python-library - # These two compilers pick up implicit directions from #pragmas - # to look for those libraries. - <*>$(PYTHON_LIB_PATH) - <*>$(PYTHON_LIB_PATH) - <*>$(PYTHON_LIB_PATH) - ; + ; +if $(NT) +{ + # Most Windows compilers pick up implicit directions from #pragmas + # to look for those libraries. + PYTHON_PROPERTIES += $(PYTHON_LIB_PATH) ; +} + +# Set gcc-specific release build properties { local gcc-release-properties = speed -fomit-frame-pointer on -foptimize-sibling-calls ; + PYTHON_PROPERTIES += $(gcc-release-properties) ; }