[Buildroot] [PATCH] intltool: use built host libexpat during configure

Wade Berrier wberrier at gmail.com
Tue Sep 6 19:10:23 UTC 2011


Hello,

Adding this fix the build in one of my environments (rhel5).  Otherwise, the configure
check for the perl module failed.

Wade

set LD_LIBRARY_PATH during configure so libexpat is found when checking for XML::Parser

Signed-off-by: Wade Berrier <wberrier at gmail.com>
---
 package/intltool/intltool.mk |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/package/intltool/intltool.mk b/package/intltool/intltool.mk
index 746ebb1..45b52ed 100644
--- a/package/intltool/intltool.mk
+++ b/package/intltool/intltool.mk
@@ -9,7 +9,8 @@ INTLTOOL_SITE:=http://ftp.acc.umu.se/pub/GNOME/sources/intltool/0.40/
 
 HOST_INTLTOOL_DEPENDENCIES = host-libxml-parser-perl
 HOST_INTLTOOL_CONF_OPT = \
-  PERLLIB=$(HOST_DIR)/usr/lib/perl
+  PERLLIB=$(HOST_DIR)/usr/lib/perl \
+  LD_LIBRARY_PATH=$(HOST_DIR)/usr/lib
 
 $(eval $(call AUTOTARGETS,package,intltool))
 $(eval $(call AUTOTARGETS,package,intltool,host))
-- 
1.7.0.4



More information about the buildroot mailing list