diff options
author | Andy Polyakov <appro@openssl.org> | 2010-11-30 22:18:02 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2010-11-30 22:18:02 +0000 |
commit | cbecd29a2702cd24d5601e188f675fe8029bbfe6 (patch) | |
tree | 73d44e4fa4b934baed6564a799ae61ee2fb76396 /Configure | |
parent | 09c1dc850c9f91d41fa2ccfaae59212e32ade4c6 (diff) |
Configure: make -mno-cygwin optional on mingw platforms.
PR: 2381
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1131,6 +1131,12 @@ my ($prelflags,$postlflags)=split('%',$lflags); if (defined($postlflags)) { $lflags=$postlflags; } else { $lflags=$prelflags; undef $prelflags; } +if ($target =~ /^mingw/ && `$cc --target-help 2>&1` !~ m/\-mno\-cygwin/m) + { + $cflags =~ s/\-mno\-cygwin\s*//; + $shared_ldflag =~ s/\-mno\-cygwin\s*//; + } + my $no_shared_warn=0; my $no_user_cflags=0; |