diff --git a/v1/intel-win32-stlport-tools.jam b/v1/intel-win32-stlport-tools.jam index db00269ac..1f8eaea72 100644 --- a/v1/intel-win32-stlport-tools.jam +++ b/v1/intel-win32-stlport-tools.jam @@ -7,9 +7,11 @@ # The following #// line will be used by the regression test table generation # program as the column heading for HTML tables. Must not include version number. #//Intel
C++

STLport + +STLPORT_LIB_BASE_NAME ?= stlport_icl ; + { local INTEL_BASE_MSVC_TOOLSET = msvc-stlport ; - STLPORT_LIB_BASE_NAME = stlport_icl ; extends-toolset intel-win32 ; # Intel's compiler doesn't seem to encode the path to the STLPort diff --git a/v1/msvc-stlport-tools.jam b/v1/msvc-stlport-tools.jam index c6929b734..5f0ffc361 100644 --- a/v1/msvc-stlport-tools.jam +++ b/v1/msvc-stlport-tools.jam @@ -9,7 +9,8 @@ extends-toolset msvc ; CURR_TOOLSET = msvc-stlport ; -STLPORT_LIB_BASE_NAME = stlport_vc6 ; +STLPORT_LIB_BASE_NAME ?= stlport_vc6 ; +STLPORT_LIB_STATIC_SUFFIX ?= _static ; # bring in the STLPort configuration SEARCH on stlport.jam = $(BOOST_BUILD_PATH) ; diff --git a/v1/stlport.jam b/v1/stlport.jam index 4cf44b6ae..4cf5c3595 100644 --- a/v1/stlport.jam +++ b/v1/stlport.jam @@ -31,6 +31,8 @@ STLPORT_VERSIONS ?= 4.6 4.5.3 4.5 ; feature stlport-version : [ unique $(STLPORT_VERSION) $(STLPORT_VERSIONS) ] ; flags $(CURR_TOOLSET) STLPORT_VERSION_RELEVANT_FEATURE ; +STLPORT_LIB_DEBUG_SUFFIX ?= _stldebug ; + # singleton variables... set-as-singleton STLPORT_INCLUDE_DIRECTORY STLPORT_LIB_DIRECTORY STLPORT_PATH STLPORT_ROOT ; @@ -103,5 +105,7 @@ flags $(CURR_TOOLSET) DEFINES on : _STLP_DEBUG_ALLOC=1 ; flags $(CURR_TOOLSET) DEFINES debug : _STLP_DEBUG=1 _STLP_DEBUG_UNINITIALIZED=1 ; flags $(CURR_TOOLSET) DEFINES dynamic : _STLP_USE_DYNAMIC_LIB=1 ; -flags $(CURR_TOOLSET) FINDLIBS on/debug : $(STLPORT_LIB_BASE_NAME)_stldebug ; -flags $(CURR_TOOLSET) FINDLIBS on/release : $(STLPORT_LIB_BASE_NAME) ; +flags $(CURR_TOOLSET) FINDLIBS on/debug/static : $(STLPORT_LIB_BASE_NAME)$(STLPORT_LIB_DEBUG_SUFFIX)$(STLPORT_LIB_STATIC_SUFFIX) ; +flags $(CURR_TOOLSET) FINDLIBS on/debug/dynamic : $(STLPORT_LIB_BASE_NAME)$(STLPORT_LIB_DEBUG_SUFFIX) ; +flags $(CURR_TOOLSET) FINDLIBS on/release/static : $(STLPORT_LIB_BASE_NAME)$(STLPORT_LIB_STATIC_SUFFIX) ; +flags $(CURR_TOOLSET) FINDLIBS on/release/dynamic : $(STLPORT_LIB_BASE_NAME) ;