From 1bd96da3e1b136c36858f25603e8037eb2add360 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Fri, 24 Mar 2017 01:18:02 +0100 Subject: [PATCH] libcue: Fix build with cross-compiled flex&bison --- packages/libcue/build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/libcue/build.sh b/packages/libcue/build.sh index 54e29b853..6e218074d 100644 --- a/packages/libcue/build.sh +++ b/packages/libcue/build.sh @@ -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_SHA256=288ddd01e5f9e8f901d0c205d31507e4bdffd2540fa86073f2fe82de066d2abb 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` +"