ICU libraries are only available as shared libraries.

[SVN r40214]
This commit is contained in:
John Maddock
2007-10-20 16:30:01 +00:00
parent 4c23414558
commit f2a7f4d8c3

View File

@ -195,18 +195,18 @@ if [ check-icu-config ]
{ {
if $(gICU_CORE_LIB) if $(gICU_CORE_LIB)
{ {
lib icucore : : <name>$(gICU_CORE_LIB) $(ICU_SEARCH_OPTS) ; lib icucore : : <name>$(gICU_CORE_LIB) $(ICU_SEARCH_OPTS) <link>shared ;
ICU_EXTRA_SOURCE = icucore ; ICU_EXTRA_SOURCE = icucore ;
} }
if $(gICU_IN_LIB) if $(gICU_IN_LIB)
{ {
lib icuin : : <name>$(gICU_IN_LIB) $(ICU_SEARCH_OPTS) ; lib icuin : : <name>$(gICU_IN_LIB) $(ICU_SEARCH_OPTS) <link>shared ;
ICU_EXTRA_SOURCE += icuin ; ICU_EXTRA_SOURCE += icuin ;
} }
#Added by Tommy Nordgren libicudata must be linked against on Mac OS X #Added by Tommy Nordgren libicudata must be linked against on Mac OS X
if $(gICU_DATA_LIB) if $(gICU_DATA_LIB)
{ {
lib icudata : : <name>$(gICU_DATA_LIB) $(ICU_SEARCH_OPTS) ; lib icudata : : <name>$(gICU_DATA_LIB) $(ICU_SEARCH_OPTS) <link>shared ;
ICU_EXTRA_SOURCE += icudata ; ICU_EXTRA_SOURCE += icudata ;
} }
#End of addition by Tommy Nordgren #End of addition by Tommy Nordgren
@ -258,3 +258,4 @@ alias icu_options : $(ICU_EXTRA_SOURCE) : : : $(BOOST_REGEX_ICU_OPTS) ;