From f5db2b43e673b6e2a5c6b4bc2db4469b31eb4b54 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sun, 2 Aug 2015 10:05:09 +0100 Subject: SWIG_LIB fix for out of source MinGW builds --- configure.ac | 5 ++--- 1 file 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 -- cgit v1.2.1