From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hetzner.pbcl.net (mail.pbcl.net [88.198.119.4]) by mail.openembedded.org (Postfix) with ESMTP id A478E60745; Tue, 29 Dec 2015 11:22:06 +0000 (UTC) Received: from cpc92302-cmbg19-2-0-cust1434.5-4.cable.virginm.net ([82.1.213.155] helo=phil-desktop) by hetzner.pbcl.net with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1aDsLu-000331-2g; Tue, 29 Dec 2015 12:22:06 +0100 Message-ID: <1451388119.1472.230.camel@pbcl.net> From: Phil Blundell To: "Burton, Ross" Date: Tue, 29 Dec 2015 11:21:59 +0000 In-Reply-To: References: <1450910987.2002.86.camel@pbcl.net> X-Mailer: Evolution 3.16.5-1 Mime-Version: 1.0 Cc: OpenEmbedded Devel List , OE-core Subject: Re: [RFC] Delete all .la files? X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Dec 2015 11:22:08 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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 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.