Bug 58638 - Building fails with ICU due to not passing required flags
authorBehdad Esfahbod <behdad@behdad.org>
Mon, 7 Jan 2013 23:34:24 +0000 (17:34 -0600)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 7 Jan 2013 23:34:24 +0000 (17:34 -0600)
configure.ac

index 91ea713..8b74b45 100644 (file)
@@ -171,6 +171,7 @@ dnl ==========================================================================
 
 PKG_CHECK_MODULES(ICU, icu-uc, have_icu=true, have_icu=false)
 if $have_icu; then
+       CXXFLAGS="$CXXFLAGS `$PKG_CONFIG --variable=CXXFLAGS icu-uc`"
        AC_DEFINE(HAVE_ICU, 1, [Have ICU library])
 fi
 AM_CONDITIONAL(HAVE_ICU, $have_icu)