diff --git a/recipes-support/mxml/files/0002-don-t-loose-our-LDFLAGS.patch b/recipes-support/mxml/files/0002-don-t-loose-our-LDFLAGS.patch new file mode 100644 index 00000000..3371d1ac --- /dev/null +++ b/recipes-support/mxml/files/0002-don-t-loose-our-LDFLAGS.patch @@ -0,0 +1,31 @@ +From 358fe387d07b4906c823b2a664f3c57fd62acd3e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Mon, 27 Feb 2017 18:24:29 +0100 +Subject: [PATCH] don't loose our LDFLAGS +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Pending + +Signed-off-by: Andreas Müller +--- + Makefile.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.in b/Makefile.in +index 789677a..f3b3b62 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -25,7 +25,7 @@ CC = @CC@ + CFLAGS = $(OPTIM) $(ARCHFLAGS) @CFLAGS@ @CPPFLAGS@ @PTHREAD_FLAGS@ + CP = @CP@ + DSO = @DSO@ +-DSOFLAGS = @DSOFLAGS@ ++DSOFLAGS = $(LDFLAGS) @DSOFLAGS@ + LDFLAGS = $(OPTIM) $(ARCHFLAGS) @LDFLAGS@ + INSTALL = @INSTALL@ + LIBMXML = @LIBMXML@ +-- +2.9.3 + diff --git a/recipes-support/mxml/mxml_2.10.bb b/recipes-support/mxml/mxml_2.10.bb index fbef80de..291d0a11 100644 --- a/recipes-support/mxml/mxml_2.10.bb +++ b/recipes-support/mxml/mxml_2.10.bb @@ -7,16 +7,14 @@ DEPENDS = "" SRC_URI = " \ http://www.msweet.org/files/project3/${BPN}-${PV}.tar.gz \ file://0001-avoid-testing-library-in-cross-environments.patch \ + file://0002-don-t-loose-our-LDFLAGS.patch \ " SRC_URI[md5sum] = "8804c961a24500a95690ef287d150abe" SRC_URI[sha256sum] = "267ff58b64ddc767170d71dab0c729c06f45e1df9a9b6f75180b564f09767891" inherit autotools-brokensep -do_configure() { - # reconfigure fails - have no idea why - oe_runconf -} +EXTRA_AUTORECONF += "--exclude=autoheader" do_install() { install -d ${D}${includedir}