]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix detect of mingw for MXE package build.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 5 Jul 2016 07:17:39 +0000 (07:17 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 5 Jul 2016 07:17:39 +0000 (07:17 +0000)
git-svn-id: file:///svn/unbound/trunk@3807 be551aaa-1e26-0410-a405-d3ace91eadb9

configure
configure.ac
doc/Changelog

index bf997a51fb5b8f2e457f84a1079a2072f281dedf..807e28c981b829ec1aa44463345434adca9c5442 100755 (executable)
--- a/configure
+++ b/configure
@@ -4055,7 +4055,7 @@ esac
 # are we on MinGW?
 if uname -s 2>&1 | grep MINGW32 >/dev/null; then on_mingw="yes"
 else
-       if echo $target | grep mingw32 >/dev/null; then on_mingw="yes"
+       if echo $host $target | grep mingw32 >/dev/null; then on_mingw="yes"
        else on_mingw="no"; fi
 fi
 
index a007e8d349de5b8be717a425b384f60b1609d060..b0ad763c9786524e2b9c42f291345d595bb1fca6 100644 (file)
@@ -108,7 +108,7 @@ esac
 # are we on MinGW?
 if uname -s 2>&1 | grep MINGW32 >/dev/null; then on_mingw="yes"
 else 
-       if echo $target | grep mingw32 >/dev/null; then on_mingw="yes"
+       if echo $host $target | grep mingw32 >/dev/null; then on_mingw="yes"
        else on_mingw="no"; fi
 fi
 
index d8b35e9cb2914923bb68aa8830f94d4387fb1243..3edb17d1d47680e84b36e5af68e8a2888d1c9ec6 100644 (file)
@@ -1,5 +1,6 @@
 5 July 2016: Wouter
        - Fix dynamic link of anchor-update.exe on windows.
+       - Fix detect of mingw for MXE package build.
 
 4 July 2016: Wouter
        - For #787: prefer-ip6 option for unbound.conf prefers to send