From: Phil Blundell <pb@pbcl.net>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: OpenEmbedded Devel List
<openembedded-devel@lists.openembedded.org>,
OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [RFC] Delete all .la files?
Date: Tue, 29 Dec 2015 11:21:59 +0000 [thread overview]
Message-ID: <1451388119.1472.230.camel@pbcl.net> (raw)
In-Reply-To: <CAJTo0Lbrb-yu=71a+7YnF0pSkiNxB26U7xh7dbS7Jr8DPEJmag@mail.gmail.com>
On Thu, 2015-12-24 at 09:09 +0000, Burton, Ross wrote:
>
> That's good to know, thanks Phil. Does your work not build openjade
> -native? As I said that needed .la files to be present in my testing
> so I'm wondering what the difference is.
>
Oh, yes, you're right. In fact I don't build openjade-native
routinely, but a bit of git archaeology reveals that I do have the
following patch in my tree as well.
From 803f05d54a38be5495fa81e7fbc53f1b582317ee Mon Sep 17 00:00:00 2001
From: Phil Blundell <philb@brightsign.biz>
Date: Tue, 14 May 2013 11:59:37 +0100
Subject: [PATCH] openjade: Fix build if not installing the libtool-garbage
The openjade build system is slightly funky and does strange things with
library dependencies. Fix it up so that it depends on the .so rather than
the .la (which may not exist) for libraries from the sysroot.
---
.../recipes-devtools/openjade/openjade-1.3.2/no-libtool.patch | 11 +++++++++++
meta/recipes-devtools/openjade/openjade-native_1.3.2.bb | 1 +
2 files changed, 12 insertions(+)
create mode 100644 meta/recipes-devtools/openjade/openjade-1.3.2/no-libtool.patch
diff --git a/meta/recipes-devtools/openjade/openjade-1.3.2/no-libtool.patch b/meta/recipes-devtools/openjade/openjade-1.3.2/no-libtool.patch
new file mode 100644
index 0000000..9317512
--- /dev/null
+++ b/meta/recipes-devtools/openjade/openjade-1.3.2/no-libtool.patch
@@ -0,0 +1,11 @@
+--- openjade-1.3.2/Makefile.prog.in~ 2013-05-14 11:42:02.646782318 +0100
++++ openjade-1.3.2/Makefile.prog.in 2013-05-14 11:54:55.051728343 +0100
+@@ -12,7 +12,7 @@
+
+ ALL_LIBS = $(XLIBS) $(LIBS)
+ Makefile.lt:
+- echo 'LT_LIBS='`echo $(ALL_LIBS)|sed 's/\.a/.la/g'` >Makefile.lt
++ echo 'LT_LIBS='`for d in $(ALL_LIBS); do case $$d in ../*) echo $$d | sed 's/\.a/.la/g' ;; *) echo $$d | sed 's/\.a/.so/g' ;; esac ; done` >Makefile.lt
+
+ PROG:=$(shell echo "$(PROG)" | sed '@program_transform_name@')
+
diff --git a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
index b37009a..845d2d7 100644
--- a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
+++ b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
@@ -16,6 +16,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/openjade/openjade-${PV}.tar.gz \
file://makefile.patch \
file://msggen.pl.patch \
file://reautoconf.patch \
+ file://no-libtool.patch \
file://user-declared-default-constructor.patch"
SRC_URI[md5sum] = "7df692e3186109cc00db6825b777201e"
--
2.1.4
p.
next prev parent reply other threads:[~2015-12-29 11:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-23 21:41 [RFC] Delete all .la files? Burton, Ross
2015-12-23 22:49 ` Phil Blundell
2015-12-24 9:09 ` Burton, Ross
2015-12-29 11:21 ` Phil Blundell [this message]
2016-01-02 21:01 ` Burton, Ross
2016-01-04 8:48 ` Clemens Lang
2016-01-04 16:50 ` Burton, Ross
2016-01-04 17:28 ` Burton, Ross
2016-01-04 18:01 ` [oe] " Christopher Larson
2016-01-04 19:01 ` Phil Blundell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1451388119.1472.230.camel@pbcl.net \
--to=pb@pbcl.net \
--cc=openembedded-core@lists.openembedded.org \
--cc=openembedded-devel@lists.openembedded.org \
--cc=ross.burton@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox