summaryrefslogtreecommitdiffstats
path: root/tools/mxe-activate
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-09-23 21:28:04 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2014-09-23 21:28:47 (GMT)
commitebf104acbdf22a785937d9a55ce722b7f11dc984 (patch)
tree582555aaeff2737bd062787300507d1237ba9651 /tools/mxe-activate
parentfe6a2db4e94f22649b7cb48058c5217ec31e1012 (diff)
downloadmxe-ebf104acbdf22a785937d9a55ce722b7f11dc984.zip
mxe-ebf104acbdf22a785937d9a55ce722b7f11dc984.tar.gz
mxe-ebf104acbdf22a785937d9a55ce722b7f11dc984.tar.bz2
tools: use a "compat-init.sh" for all compatibility variables
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'tools/mxe-activate')
-rw-r--r--tools/mxe-activate4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/mxe-activate b/tools/mxe-activate
index 30fb61f..14eae68 100644
--- a/tools/mxe-activate
+++ b/tools/mxe-activate
@@ -1,8 +1,8 @@
+. tools/compat-init.sh
+
export MXE_DIR=`pwd`
export BUILD=`$MXE_DIR/ext/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_TRIPLETS=`grep ^MXE_TRIPLETS Makefile | cut -d '=' -f2 | cut -d ' ' -f2- | tr ' ' ','`
MXE_LIB_TYPES=`grep ^MXE_LIB_TYPES Makefile | cut -d '=' -f2 | cut -d ' ' -f2- | tr ' ' ','`