aboutsummaryrefslogtreecommitdiff
path: root/tests/testcurl.pl
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2005-08-11 18:02:09 +0000
committerGunter Knauf <gk@gknw.de>2005-08-11 18:02:09 +0000
commitf451bb7c4942c7b0f158d1e802786019534b9fa2 (patch)
tree51ee7b6d7b506ebe06c2c96f607b511475e53b53 /tests/testcurl.pl
parent20b17d6b045c26219ee8f2f8ff72b130bd1ff492 (diff)
fix for NetWare crossbuilds to display the right config.h when build on Win32.
Diffstat (limited to 'tests/testcurl.pl')
-rwxr-xr-xtests/testcurl.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl
index 77cec503d..2a2a2c754 100755
--- a/tests/testcurl.pl
+++ b/tests/testcurl.pl
@@ -141,9 +141,9 @@ if ($^O eq 'MSWin32' || $targetos) {
}
}
-if ($^O eq 'MSWin32') {
+if (($^O eq 'MSWin32') && ($targetos =~ /vc/ || $targetos =~ /mingw32/ || $targetos =~ /borland/)) {
- # Set these things only when building ON Windows, not when simply building
+ # Set these things only when building ON Windows and for Win32 platform.
# FOR Windows since we might be cross-compiling on another system. Non-
# Windows builds still default to configure-style builds with no confsuffix.