Commit b903fb60 authored by Richard Levitte's avatar Richard Levitte
Browse files

Restore the use of LDCMD when linking applications

It is a hack, but it existed in the recently removed Makefile.shared,
and its use is documented in fuzz/README.md, so we cannot drop it now.

Fixes https://github.com/google/oss-fuzz/issues/1037



Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4947)
parent a93ccf91
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1053,7 +1053,7 @@ EOF
      return <<"EOF";
$bin$exeext: $objs $deps
	rm -f $bin$exeext
	$cmd $cmdflags \$(LDFLAGS) \$(BIN_LDFLAGS) -o $bin$exeext $objs \\
	\$\${LDCMD:-$cmd} $cmdflags \$(LDFLAGS) \$(BIN_LDFLAGS) -o $bin$exeext $objs \\
		\$(PLIB_LDFLAGS) $linklibs \$(EX_LIBS)
EOF
  }