From 920e895930cae9cb0ef870bfb0e7d502f638364d Mon Sep 17 00:00:00 2001 From: Chris Larson <clarson@kergoth.com> Date: Fri, 14 May 2004 04:47:52 +0000 Subject: Fix the expat build to properly use -our- libtool bits. BKrev: 40a44f78pCkGjY4y6sjT3WR-cvtqPQ --- expat/expat-1.95.7/autotools.patch | 0 expat/expat_1.95.7.oe | 10 ++++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 expat/expat-1.95.7/autotools.patch 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 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} -- cgit v1.2.3