mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-08 05:29:22 +00:00
libsdl-ttf: 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
497dc74fb3
commit
d12abd8fea
@@ -4,7 +4,7 @@ DEPENDS = "virtual/libsdl freetype"
|
|||||||
LICENSE = "LGPLv2.1"
|
LICENSE = "LGPLv2.1"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4"
|
||||||
|
|
||||||
PR = "r1"
|
PR = "r2"
|
||||||
|
|
||||||
SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${PV}.tar.gz \
|
SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${PV}.tar.gz \
|
||||||
file://configure.patch \
|
file://configure.patch \
|
||||||
@@ -19,10 +19,11 @@ TARGET_CC_ARCH += "${LDFLAGS}"
|
|||||||
|
|
||||||
do_configure_prepend() {
|
do_configure_prepend() {
|
||||||
|
|
||||||
|
# Removing these files fixes a libtool version mismatch.
|
||||||
MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
|
MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
|
||||||
|
|
||||||
for i in ${MACROS}; do
|
for i in ${MACROS}; do
|
||||||
rm acinclude/$i
|
rm ${S}/acinclude/$i
|
||||||
done
|
done
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user