libcue: Fix build with cross-compiled flex&bison

This commit is contained in:
Fredrik Fornwall 2017-03-24 01:18:02 +01:00
parent 035110c39d
commit 1bd96da3e1

View File

@ -4,3 +4,8 @@ TERMUX_PKG_VERSION=2.1.0
TERMUX_PKG_SRCURL=https://github.com/lipnitsk/libcue/archive/v${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SRCURL=https://github.com/lipnitsk/libcue/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=288ddd01e5f9e8f901d0c205d31507e4bdffd2540fa86073f2fe82de066d2abb TERMUX_PKG_SHA256=288ddd01e5f9e8f901d0c205d31507e4bdffd2540fa86073f2fe82de066d2abb
TERMUX_PKG_FOLDERNAME=libcue-$TERMUX_PKG_VERSION TERMUX_PKG_FOLDERNAME=libcue-$TERMUX_PKG_VERSION
# To avoid picking up cross-compiled flex and bison:
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DBISON_EXECUTABLE=`which bison`
-DFLEX_EXECUTABLE=`which flex`
"