提交 7e6502a6 编写于 作者: U Ulf Möller

Option "no-symlinks" to configure without creating the links (e.g.

for use with makefile.one)
上级 9887c71c
...@@ -435,6 +435,7 @@ my $openssl_other_defines=""; ...@@ -435,6 +435,7 @@ my $openssl_other_defines="";
my $libs=""; my $libs="";
my $target=""; my $target="";
my $options=""; my $options="";
my $symlink=1;
foreach (@ARGV) foreach (@ARGV)
{ {
s /^-no-/no-/; # some people just can't read the instructions s /^-no-/no-/; # some people just can't read the instructions
...@@ -450,6 +451,8 @@ foreach (@ARGV) ...@@ -450,6 +451,8 @@ foreach (@ARGV)
{ $no_threads=1; } { $no_threads=1; }
elsif (/^threads$/) elsif (/^threads$/)
{ $threads=1; } { $threads=1; }
elsif (/^no-symlinks$/)
{ $symlink=0; }
elsif (/^no-(.+)$/) elsif (/^no-(.+)$/)
{ {
my $algo=$1; my $algo=$1;
...@@ -895,7 +898,8 @@ if($IsWindows) { ...@@ -895,7 +898,8 @@ if($IsWindows) {
EOF EOF
close(OUT); close(OUT);
} else { } else {
(system "make -f Makefile.ssl PERL=\'$perl\' links") == 0 or exit $?; (system "make -f Makefile.ssl PERL=\'$perl\' links") == 0 or exit $?
if $symlink;
### (system 'make depend') == 0 or exit $? if $depflags ne ""; ### (system 'make depend') == 0 or exit $? if $depflags ne "";
# Run "make depend" manually if you want to be able to delete # Run "make depend" manually if you want to be able to delete
# the source code files of ciphers you left out. # the source code files of ciphers you left out.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册