Allow DSO flags like -fpic, -fPIC, -KPIC etc. to be specified on the `perl

Configure ...' command line. This way one can compile OpenSSL libraries with
Position Independent Code (PIC) which is needed for linking it into DSOs.
This commit is contained in:
Ralf S. Engelschall 1999-03-06 14:35:03 +00:00
parent 6242bb9c63
commit 3eb0ed6d91
2 changed files with 11 additions and 1 deletions

View file

@ -5,6 +5,12 @@
Changes between 0.9.1c and 0.9.2 Changes between 0.9.1c and 0.9.2
*) Allow DSO flags like -fpic, -fPIC, -KPIC etc. to be specified
on the `perl Configure ...' command line. This way one can compile
OpenSSL libraries with Position Independent Code (PIC) which is needed
for linking it into DSOs.
[Ralf S. Engelschall]
*) Remarkably, export ciphers were totally broken and no-one had noticed! *) Remarkably, export ciphers were totally broken and no-one had noticed!
Fixed. Fixed.
[Ben Laurie] [Ben Laurie]

View file

@ -289,9 +289,13 @@ foreach (@ARGV)
{ {
$flags.=$_." "; $flags.=$_." ";
} }
elsif ($_ =~ /^-[fK](.*)$/)
{
$flags.=$_." ";
}
else else
{ {
die "unknown options, only -Dxxx, -Lxxx and -lxxx supported\n"; die "unknown options, only -Dxxx, -Lxxx, -lxxx, -fxxx and -Kxxx are supported\n";
} }
} }
else else