From 00b93f6610f36d8d14ca65fb99864be6d5bdb1ea Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 29 Apr 2013 13:48:49 -0400 Subject: [PATCH] Fix icu linking by requesting the library searchpath from icu-config This is not ideal as we don't like -L/usr/lib in our linker line. But this is only relevant to environments that don't have pkgconfig files for ICU... https://github.com/behdad/harfbuzz/pull/2 --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index b44dd7501..0ab61ba82 100644 --- a/configure.ac +++ b/configure.ac @@ -177,7 +177,7 @@ if test "$have_icu" != "true"; then # necessarily want, like debugging and optimization flags # See man (1) icu-config for more info. ICU_CFLAGS=`$ICU_CONFIG --cppflags` - ICU_LIBS=`$ICU_CONFIG --ldflags-libsonly` + ICU_LIBS=`$ICU_CONFIG --ldflags-searchpath --ldflags-libsonly` AC_SUBST(ICU_CFLAGS) AC_SUBST(ICU_LIBS) AC_MSG_RESULT([yes]) @@ -205,7 +205,7 @@ if test "$have_icu_le" != "true"; then # necessarily want, like debugging and optimization flags # See man (1) icu-config for more info. ICU_LE_CFLAGS=`$ICU_CONFIG --cppflags` - ICU_LE_LIBS=`$ICU_CONFIG --ldflags-libsonly --ldflags-layout` + ICU_LE_LIBS=`$ICU_CONFIG --ldflags-searchpath --ldflags-libsonly --ldflags-layout` AC_SUBST(ICU_LE_CFLAGS) AC_SUBST(ICU_LE_LIBS) AC_MSG_RESULT([yes])