summaryrefslogtreecommitdiff
path: root/libxml/libxml2_2.6.7.oe
diff options
context:
space:
mode:
Diffstat (limited to 'libxml/libxml2_2.6.7.oe')
-rw-r--r--libxml/libxml2_2.6.7.oe6
1 files changed, 6 insertions, 0 deletions
diff --git a/libxml/libxml2_2.6.7.oe b/libxml/libxml2_2.6.7.oe
index 0a58ee8ca9..694ba1a93b 100644
--- a/libxml/libxml2_2.6.7.oe
+++ b/libxml/libxml2_2.6.7.oe
@@ -24,6 +24,12 @@ do_stage () {
for i in ${headers}; do
install -m 0644 include/libxml/$i ${STAGING_INCDIR}/libxml2/libxml/$i
done
+
+ cat xml2-config | sed -e "s,^prefix=.*,prefix=${STAGING_BINDIR}/..," \
+ -e "s,^exec_prefix=.*,exec_prefix=${STAGING_BINDIR}/..," \
+ -e "s,^includedir=.*,includedir=${STAGING_INCDIR}," \
+ -e "s,^libdir=.*,libdir=${STAGING_LIBDIR}," > ${STAGING_BINDIR}/xml2-config
+ chmod a+rx ${STAGING_BINDIR}/xml2-config
}
python populate_packages_prepend () {