summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xautoconf/cccl4
1 files changed, 4 insertions, 0 deletions
diff --git a/autoconf/cccl b/autoconf/cccl
index 9bbb25a..14c35a7 100755
--- a/autoconf/cccl
+++ b/autoconf/cccl
@@ -33,6 +33,10 @@ EOF
exit $1
}
+# Put /usr/bin last in the path, to avoid clashes with MSVC's link
+# Ugly workaround, but should work
+PATH=`echo $PATH | sed -e "s#/usr/bin:##" | sed -e "s#/bin:##"`:/usr/bin
+
case $MACHTYPE in
*-msys)
slash="//"