summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2015-08-02 10:05:09 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2015-08-02 10:05:09 +0100
commitf5db2b43e673b6e2a5c6b4bc2db4469b31eb4b54 (patch)
tree1ea0835d4df24608858b7ddbb6d138b69989c232
parent0de11efdd3b7b7a42e28896a92da0341044d4ad5 (diff)
downloadswig-f5db2b43e673b6e2a5c6b4bc2db4469b31eb4b54.tar.gz
SWIG_LIB fix for out of source MinGW builds
-rw-r--r--configure.ac5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 3877811d4..1d5983f74 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2796,9 +2796,8 @@ dnl built using MinGW or cccl compiler in Cygwin environment). However it may,
dnl although this is probably more rare, also be built as a Cygwin program.
dnl Using "mixed" path like we do here allows the path to work in both cases.
case $host in
-*-*-cygwin* )
- ABS_SRCDIR=`cygpath --mixed $ABS_SRCDIR`
- ;;
+ *-*-mingw* ) ABS_SRCDIR=`${srcdir}/Tools/convertpath -m $ABS_SRCDIR` ;;
+ *-*-cygwin* ) ABS_SRCDIR=`cygpath --mixed $ABS_SRCDIR` ;;
esac
# Root directory