summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}