mxml: cleanup build

* run reconfigure
* avoid loosing LDFLAGS

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2017-02-27 18:27:25 +01:00
parent 7154cdbe9e
commit 22245ccd56
2 changed files with 33 additions and 4 deletions

View File

@@ -0,0 +1,31 @@
From 358fe387d07b4906c823b2a664f3c57fd62acd3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
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 <schnitzeltony@googlemail.com>
---
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

View File

@@ -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}