summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libsdl-ttf/files
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-05-09 00:57:10 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2017-05-23 15:49:38 +0200
commitc9a07b63e3268e4b8d04c6917d8cd131e019e65c (patch)
treea46c7d26d5a99b9c9296272c667298dd211e6679 /meta-oe/recipes-support/libsdl-ttf/files
parentc8044261026113b0d2769fce9eba6cdfffe89a95 (diff)
downloadmeta-openembedded-c9a07b63e3268e4b8d04c6917d8cd131e019e65c.tar.gz
libsdl2-ttf: Check for x11 and opengl in distro features
when X11 is not in distro features it tries to link with libGL which does not exist and compile fails Add a patch to add foreign option to AUTOMAKE_OPTIONS which lets it configure and relax automake rules to not check for some GNU specific files Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libsdl-ttf/files')
-rw-r--r--meta-oe/recipes-support/libsdl-ttf/files/automake_foreign.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libsdl-ttf/files/automake_foreign.patch b/meta-oe/recipes-support/libsdl-ttf/files/automake_foreign.patch
new file mode 100644
index 000000000..2d5bd6d91
--- /dev/null
+++ b/meta-oe/recipes-support/libsdl-ttf/files/automake_foreign.patch
@@ -0,0 +1,13 @@
1Index: SDL2_ttf-2.0.14/Makefile.am
2===================================================================
3--- SDL2_ttf-2.0.14.orig/Makefile.am
4+++ SDL2_ttf-2.0.14/Makefile.am
5@@ -1,6 +1,8 @@
6 # Makefile.am for the SDL truetype font loading library and viewer
7 lib_LTLIBRARIES = libSDL2_ttf.la
8
9+AUTOMAKE_OPTIONS = foreign
10+
11 libSDL2_ttfincludedir = $(includedir)/SDL2
12 libSDL2_ttfinclude_HEADERS = \
13 SDL_ttf.h