sdl-ttf: fix undefined reference to ceilf

This commit is contained in:
Leonid Pliushch 2021-08-19 22:14:52 +03:00 committed by Yaksh Bariya
parent a99c5ebbd7
commit 5ae2ebcea7
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581

View File

@ -7,3 +7,7 @@ TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SRCURL=https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7 TERMUX_PKG_SHA256=724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7
TERMUX_PKG_DEPENDS="freetype, sdl" TERMUX_PKG_DEPENDS="freetype, sdl"
termux_step_pre_configure() {
LDFLAGS="${LDFLAGS/-Wl,--as-needed/} -lm"
}