Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2002-12-13 20:31:01 +0300
committerAndy Polyakov <appro@openssl.org>2002-12-13 20:31:01 +0300
commitb0e88fb11b18eacf8966d15e38a2cd9e53208b95 (patch)
tree375d9c175f22eabb9d5ef345f301fc751d46d9fb /Configure
parent04c71cd7256f9652d71d576afa93b877f335ff2b (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 6de70f655a..db752c2e21 100755
--- a/Configure
+++ b/Configure
@@ -1083,6 +1083,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;
@@ -1098,20 +1103,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 ($sys_id ne "")