Avoid libicu dependency with --enable-runtime=no
This commit is contained in:
parent
5363290cbe
commit
e63ff8abfc
|
@ -154,8 +154,10 @@ if test "$enable_runtime" = "libicu" -o "$enable_builtin" = "libicu"; then
|
||||||
# using AC_SEARCH_LIBS also don't work since functions have the library version appended
|
# using AC_SEARCH_LIBS also don't work since functions have the library version appended
|
||||||
PKG_CHECK_MODULES([LIBICU], [icu-uc], [
|
PKG_CHECK_MODULES([LIBICU], [icu-uc], [
|
||||||
HAVE_LIBICU=yes
|
HAVE_LIBICU=yes
|
||||||
LIBS="$LIBICU_LIBS $LIBS"
|
if test "$enable_runtime" = "libicu"; then
|
||||||
CFLAGS="$LIBICU_CFLAGS $CFLAGS"
|
LIBS="$LIBICU_LIBS $LIBS"
|
||||||
|
CFLAGS="$LIBICU_CFLAGS $CFLAGS"
|
||||||
|
fi
|
||||||
], [
|
], [
|
||||||
OLDLIBS=$LIBS
|
OLDLIBS=$LIBS
|
||||||
LIBS="-licuuc $LIBS"
|
LIBS="-licuuc $LIBS"
|
||||||
|
|
Loading…
Reference in New Issue