the-powder-toy: correctly pass ldflags

This commit is contained in:
Leonid Pliushch 2019-04-13 01:44:53 +03:00 committed by Yaksh Bariya
parent 59096cc2d0
commit d1bfd9a3f0
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="The Powder Toy is a free physics sandbox game"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
TERMUX_PKG_VERSION=93.3
TERMUX_PKG_REVISION=6
TERMUX_PKG_REVISION=7
TERMUX_PKG_SRCURL=https://github.com/ThePowderToy/The-Powder-Toy/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=6c5f5914e4ae0ac8500c7203ec69517a2fd4380dece6b33247ed719aa12e074e
TERMUX_PKG_DEPENDS="fftw, libbz2, libc++, liblua52, sdl, libx11"
@ -13,7 +13,7 @@ TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make() {
export CFLAGS="${CFLAGS} -I${TERMUX_PREFIX}/include"
export CXXFLAGS="${CFLAGS}"
export LDFLAGS="-L${TERMUX_PREFIX}/lib"
export LINKFLAGS="${LDFLAGS}"
scons -j4 --lin --64bit --no-sse --lua52
}