projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09c1dc8
)
Configure: make -mno-cygwin optional on mingw platforms.
author
Andy Polyakov
<appro@openssl.org>
Tue, 30 Nov 2010 22:18:02 +0000
(22:18 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Tue, 30 Nov 2010 22:18:02 +0000
(22:18 +0000)
PR: 2381
Configure
patch
|
blob
|
history
diff --git
a/Configure
b/Configure
index e2efb5b864b479e1c2524cf230baf9d2e578d2ee..b638a0bd98430fe2e94605f71521f187e392add1 100755
(executable)
--- a/
Configure
+++ b/
Configure
@@
-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;