summaryrefslogtreecommitdiffstats
path: root/tools/mxe-activate
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-08-25 10:25:50 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-08-25 10:25:50 (GMT)
commitb97f4410aa0c4f515aedbb966aa2586f3e18789d (patch)
tree2f00b7774cf73b0c4af954f04967b6cd741754d5 /tools/mxe-activate
parent9cd1a9b6de8dd42ac8256883fbe2188cc7f4ba59 (diff)
downloadmxe-b97f4410aa0c4f515aedbb966aa2586f3e18789d.zip
mxe-b97f4410aa0c4f515aedbb966aa2586f3e18789d.tar.gz
mxe-b97f4410aa0c4f515aedbb966aa2586f3e18789d.tar.bz2
mxe-activate: add BUILD to path
Diffstat (limited to 'tools/mxe-activate')
-rw-r--r--tools/mxe-activate3
1 files changed, 2 insertions, 1 deletions
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'`"