aboutsummaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorRalf S. Engelschall <rse@openssl.org>1999-03-06 14:35:03 +0000
committerRalf S. Engelschall <rse@openssl.org>1999-03-06 14:35:03 +0000
commit3eb0ed6d914d82e73717e125227acb5a5c36120c (patch)
tree2772a13abbe702132dcd48614a1bafbd33937f39 /Configure
parent6242bb9c63784bd878621557d40521c4a40b2ea4 (diff)
downloadopenssl-3eb0ed6d914d82e73717e125227acb5a5c36120c.zip
openssl-3eb0ed6d914d82e73717e125227acb5a5c36120c.tar.gz
openssl-3eb0ed6d914d82e73717e125227acb5a5c36120c.tar.bz2
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.
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/Configure b/Configure
index d7eb1ff..f9f92c3 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