Commit 9501418e authored by Dr Stephen Henson's avatar Dr Stephen Henson Committed by Dr. Stephen Henson
Browse files

Don't use applink for static builds.



Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent 50b255a2
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -361,9 +361,13 @@ sub do_link_rule
	$ret.="$target: $files $dep_libs";
	if ($standalone == 1)
		{
		$ret.=" \$(OBJ_D)${o}applink.obj\n";
		$ret.=" \$(OBJ_D)${o}applink.obj" if $shlib;
		$ret.="\n";
		$ret.="  \$(LINK) \$(LFLAGS) $efile$target @<<\n\t";
		$ret.= "\$(EX_LIBS) \$(OBJ_D)${o}applink.obj " if ($files =~ /O_FIPSCANISTER/ && !$fipscanisterbuild);
		if ($files =~ /O_FIPSCANISTER/ && !$fipscanisterbuild) {
			$ret.= "\$(EX_LIBS) ";
			$ret.= "\$(OBJ_D)${o}applink.obj " if $shlib;
		}
		$ret.="$files $libs\n<<\n";
		}
	elsif ($standalone == 2)