diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2015-08-02 10:05:09 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2015-08-02 10:05:09 +0100 |
commit | f5db2b43e673b6e2a5c6b4bc2db4469b31eb4b54 (patch) | |
tree | 1ea0835d4df24608858b7ddbb6d138b69989c232 | |
parent | 0de11efdd3b7b7a42e28896a92da0341044d4ad5 (diff) | |
download | swig-f5db2b43e673b6e2a5c6b4bc2db4469b31eb4b54.tar.gz |
SWIG_LIB fix for out of source MinGW builds
-rw-r--r-- | configure.ac | 5 |
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 |