diff options
author | Andy Polyakov <appro@openssl.org> | 2013-01-19 21:23:13 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2013-01-19 21:23:13 +0100 |
commit | a006fef78e56b078549a80f4bb4518b6a02eba84 (patch) | |
tree | 16669073d67ca852e41b488283fb617409839547 /util | |
parent | 0e5cf7bc09377de8564b9a18d96050b87b156bb0 (diff) |
Improve WINCE support.
Submitted by: Pierre Delaage
Diffstat (limited to 'util')
-rw-r--r-- | util/pl/VC-32.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/pl/VC-32.pl b/util/pl/VC-32.pl index 0aeabcf5c7..f9749e4c78 100644 --- a/util/pl/VC-32.pl +++ b/util/pl/VC-32.pl @@ -126,7 +126,7 @@ elsif ($FLAVOR =~ /CE/) $base_cflags.=" $wcecdefs"; $base_cflags.=' -I$(WCECOMPAT)/include' if (defined($ENV{'WCECOMPAT'})); $base_cflags.=' -I$(PORTSDK_LIBPATH)/../../include' if (defined($ENV{'PORTSDK_LIBPATH'})); - if ($cc =~ /\bcl(\.exe)*$/) { + if (`$cc 2>&1` =~ /Version ([0-9]+)\./ && $1>=14) { $base_cflags.=($shlib and !$fipscanisterbuild)?' /MD':' /MT'; } else { $base_cflags.=' /MC'; |