summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-05-14 04:47:52 +0000
committerChris Larson <clarson@kergoth.com>2004-05-14 04:47:52 +0000
commit920e895930cae9cb0ef870bfb0e7d502f638364d (patch)
treee36dbfbd4882d924415b9c8caa24f17e45b76927
parentff262b61f8bd5529b3c11ad420b29e2c7a242cf5 (diff)
Fix the expat build to properly use -our- libtool bits.
BKrev: 40a44f78pCkGjY4y6sjT3WR-cvtqPQ
-rw-r--r--expat/expat-1.95.7/autotools.patch0
-rw-r--r--expat/expat_1.95.7.oe10
2 files changed, 8 insertions, 2 deletions
diff --git a/expat/expat-1.95.7/autotools.patch b/expat/expat-1.95.7/autotools.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/expat/expat-1.95.7/autotools.patch
diff --git a/expat/expat_1.95.7.oe b/expat/expat_1.95.7.oe
index 05abd25fb8..a230913fca 100644
--- a/expat/expat_1.95.7.oe
+++ b/expat/expat_1.95.7.oe
@@ -1,12 +1,18 @@
DESCRIPTION = "Jim Clarkes XML parser library."
DEPENDS = "virtual/libc"
-SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz \
+ file://${FILESDIR}/autotools.patch;patch=1"
S = "${WORKDIR}/expat-${PV}"
-inherit autotools lib_package
+inherit autotools lib_package
export LTCC = "${CC}"
+do_configure () {
+ rm -f ${S}/conftools/libtool.m4
+ autotools_do_configure
+}
+
do_stage () {
install -m 0644 ${S}/lib/expat.h ${STAGING_INCDIR}/
oe_libinstall -so libexpat ${STAGING_LIBDIR}