summaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2002-12-13 17:56:14 +0000
committerAndy Polyakov <appro@openssl.org>2002-12-13 17:56:14 +0000
commit6f7ac8e1b0654e1be7ec571f3646be6f37c34788 (patch)
tree03a69de9b2e182a1f3a6ed6cc4e4c55ff1d1c0e7 /Configure
parenta1457874c61f6da4dfe67944b8ae94fcd59bc02e (diff)
IA-32 assembler modules (primarily DES) PIC-ification. Idea is to keep
shared libraries shared.
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure19
1 files changed, 10 insertions, 9 deletions
diff --git a/Configure b/Configure
index 44848b5f0a..eb7b588898 100755
--- a/Configure
+++ b/Configure
@@ -1104,6 +1104,11 @@ if ($no_asm)
$sha1_obj=$md5_obj=$rmd160_obj="";
}
+if (!$no_shared)
+ {
+ $cast_obj=""; # CAST assembler is not PIC
+ }
+
if ($threads)
{
$cflags=$thread_cflags;
@@ -1119,20 +1124,16 @@ if ($zlib)
# You will find shlib_mark1 and shlib_mark2 explained in Makefile.org
my $shared_mark = "";
-if ($shared_target ne "")
+if ($shared_target eq "")
+ {
+ $no_shared = 1;
+ }
+if (!$no_shared)
{
if ($shared_cflag ne "")
{
$cflags = "$shared_cflag $cflags";
}
- if (!$no_shared)
- {
- #$shared_mark = "\$(SHARED_LIBS)";
- }
- }
-else
- {
- $no_shared = 1;
}
if ($no_shared)