mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
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>
This commit is contained in:
committed by
Martin Jansa
parent
79384cbed9
commit
497dc74fb3
@@ -20,12 +20,12 @@ export SDL_CONFIG = "${STAGING_BINDIR_CROSS}/sdl-config"
|
||||
EXTRA_OECONF += "--disable-jpg-shared --disable-png-shared -disable-tif-shared"
|
||||
|
||||
do_configure_prepend() {
|
||||
# Removing this file fixes a libtool version mismatch.
|
||||
rm -f acinclude/libtool.m4
|
||||
rm -f acinclude/sdl.m4
|
||||
rm -f acinclude/pkg.m4
|
||||
rm -f acinclude/lt~obsolete.m4
|
||||
rm -f acinclude/ltoptions.m4
|
||||
rm -f acinclude/ltsugar.m4
|
||||
rm -f acinclude/ltversion.m4
|
||||
# Removing these files fixes a libtool version mismatch.
|
||||
rm -f ${S}/acinclude/libtool.m4
|
||||
rm -f ${S}/acinclude/sdl.m4
|
||||
rm -f ${S}/acinclude/pkg.m4
|
||||
rm -f ${S}/acinclude/lt~obsolete.m4
|
||||
rm -f ${S}/acinclude/ltoptions.m4
|
||||
rm -f ${S}/acinclude/ltsugar.m4
|
||||
rm -f ${S}/acinclude/ltversion.m4
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user