diff --git a/CHANGES b/CHANGES index 4a5bd9ff80e3ae2425d1b6d9b7d83662e3d458d1..7aea4643ad60d14c0101d687a1ab50e83a8ba556 100644 --- a/CHANGES +++ b/CHANGES @@ -5,6 +5,12 @@ 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! Fixed. [Ben Laurie] diff --git a/Configure b/Configure index d7eb1ffe9624a0abb6c559fec9e6e2eefc12afcc..f9f92c34ee4be74c80bc15c92c5c98f98fd13306 100755 --- a/Configure +++ b/Configure @@ -289,9 +289,13 @@ foreach (@ARGV) { $flags.=$_." "; } + elsif ($_ =~ /^-[fK](.*)$/) + { + $flags.=$_." "; + } 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