diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/configure.in b/configure.in index c9e625da930c..66354736b4f5 100644 --- a/configure.in +++ b/configure.in @@ -10975,16 +10975,23 @@ GLIB_CFLAGS='' GLIB_LIBS='' if test "$SYSTEM_GLIB" = YES; then PKG_CHECK_MODULES( GLIB, glib-2.0 ) -else +elif test "$enable_librsvg" = fully-internal; then BUILD_TYPE="$BUILD_TYPE GLIB" fi AC_SUBST(GLIB_CFLAGS) AC_SUBST(GLIB_LIBS) dnl So far AFAIK no system has liblangtag, set this unconditionally for now. +dnl Except for Android and iOS where we don't want liblangtag. SYSTEM_LIBLANGTAG=NO -BUILD_TYPE="$BUILD_TYPE LIBLANGTAG" +case "$_os" in +iOS|Android) + ;; +*) + BUILD_TYPE="$BUILD_TYPE LIBLANGTAG" + ;; +esac AC_SUBST(SYSTEM_LIBLANGTAG) |