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 <ph...@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. -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core