package/sdl2_ttf: add harfbuzz optional dependency
harfbuzz is an optional dependency (which is enabled by default) since version 2.0.18 and328bbed78d
If harfbuzz is not disabled and not found, builtin harfbuzz is enabled resulting in the following build failure without C++ since commitf4da031a77
and9a7ef3fb64
: configure: error: *** A compiler with support for C++11 language features is required. Fixes: - http://autobuild.buildroot.org/results/3fecb96a8063b1a28703682e9373714c1c9cfa24 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
81636b1ea1
commit
e253e41ce2
@ -13,6 +13,13 @@ SDL2_TTF_INSTALL_STAGING = YES
|
||||
SDL2_TTF_DEPENDENCIES = sdl2 freetype host-pkgconf
|
||||
SDL2_TTF_CONF_OPTS = --disable-freetype-builtin
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HARFBUZZ),y)
|
||||
SDL2_TTF_DEPENDENCIES += harfbuzz
|
||||
SDL2_TTF_CONF_OPTS += --enable-harfbuzz
|
||||
else
|
||||
SDL2_TTF_CONF_OPTS += --disable-harfbuzz
|
||||
endif
|
||||
|
||||
# x-includes and x-libraries must be set for cross-compiling
|
||||
# By default x_includes and x_libraries contains unsafe paths.
|
||||
# (/usr/include and /usr/lib)
|
||||
|
Loading…
Reference in New Issue
Block a user