summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarko Lindqvist <cazfi74@gmail.com>2014-06-15 04:25:19 +0300
committerMartin Jansa <Martin.Jansa@gmail.com>2014-06-21 10:32:31 +0200
commit497dc74fb3cc755c30cf554a59b458a117cdb072 (patch)
tree8fad25bf85664f81b2742a7345ffbd061ee98b4f
parent79384cbed9b7e8dfce6bc728dc005516817ee6da (diff)
downloadmeta-openembedded-497dc74fb3cc755c30cf554a59b458a117cdb072.tar.gz
libsdl-image: Fix build with separate builddir
Do not assume that sources are in the current directory in do_configure_prepend() but refer to them with path to source directory. Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-multimedia/libsdl-image/libsdl-image_1.2.12.bb16
1 files changed, 8 insertions, 8 deletions
diff --git a/meta-oe/recipes-multimedia/libsdl-image/libsdl-image_1.2.12.bb b/meta-oe/recipes-multimedia/libsdl-image/libsdl-image_1.2.12.bb
index ef7892782..d8c56fba5 100644
--- a/meta-oe/recipes-multimedia/libsdl-image/libsdl-image_1.2.12.bb
+++ b/meta-oe/recipes-multimedia/libsdl-image/libsdl-image_1.2.12.bb
@@ -20,12 +20,12 @@ export SDL_CONFIG = "${STAGING_BINDIR_CROSS}/sdl-config"
20EXTRA_OECONF += "--disable-jpg-shared --disable-png-shared -disable-tif-shared" 20EXTRA_OECONF += "--disable-jpg-shared --disable-png-shared -disable-tif-shared"
21 21
22do_configure_prepend() { 22do_configure_prepend() {
23 # Removing this file fixes a libtool version mismatch. 23 # Removing these files fixes a libtool version mismatch.
24 rm -f acinclude/libtool.m4 24 rm -f ${S}/acinclude/libtool.m4
25 rm -f acinclude/sdl.m4 25 rm -f ${S}/acinclude/sdl.m4
26 rm -f acinclude/pkg.m4 26 rm -f ${S}/acinclude/pkg.m4
27 rm -f acinclude/lt~obsolete.m4 27 rm -f ${S}/acinclude/lt~obsolete.m4
28 rm -f acinclude/ltoptions.m4 28 rm -f ${S}/acinclude/ltoptions.m4
29 rm -f acinclude/ltsugar.m4 29 rm -f ${S}/acinclude/ltsugar.m4
30 rm -f acinclude/ltversion.m4 30 rm -f ${S}/acinclude/ltversion.m4
31} 31}