From b97f4410aa0c4f515aedbb966aa2586f3e18789d Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Sun, 25 Aug 2013 20:25:50 +1000 Subject: mxe-activate: add BUILD to path --- tools/mxe-activate | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/mxe-activate b/tools/mxe-activate index 5a59ddd..e1f0697 100644 --- a/tools/mxe-activate +++ b/tools/mxe-activate @@ -1,5 +1,6 @@ export MXE_DIR=`pwd` -export PATH=$MXE_DIR/usr/bin:$PATH +export BUILD=`$MXE_DIR/tools/config.guess` +export PATH=$MXE_DIR/usr/$BUILD/bin:$MXE_DIR/usr/bin:$PATH MAKE=`gmake --help >/dev/null 2>&1 && echo g`make SED=`gsed --help >/dev/null 2>&1 && echo g`sed MXE_TARGET_LIST="`grep 'MXE_TARGET_LIST.*:=' Makefile | $SED -n 's,^.*:= \(.*\)$,\1,p'`" -- cgit v0.12