From: Dr. Stephen Henson Date: Wed, 5 Aug 2009 15:51:39 +0000 (+0000) Subject: PR: 2002 X-Git-Tag: OpenSSL-fips-2_0-rc1~1574 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e075341d66cf35527b37e449a39de9b68cee6bcb;p=oweals%2Fopenssl.git PR: 2002 Submitted by: Tomas Mraz Obtained from: steve@openssl.org Fix bug in libssl and krb5 linking in Makefile.org --- diff --git a/Makefile.org b/Makefile.org index ba29744a86..4bc71c0986 100644 --- a/Makefile.org +++ b/Makefile.org @@ -299,7 +299,7 @@ build-shared: do_$(SHLIB_TARGET) link-shared do_$(SHLIB_TARGET): @ set -e; libs='-L. $(SHLIBDEPS)'; for i in $(SHLIBDIRS); do \ - if [ "$(SHLIBDIRS)" = "ssl" -a -n "$(LIBKRB5)" ]; then \ + if [ "$$i" = "ssl" -a -n "$(LIBKRB5)" ]; then \ libs="$(LIBKRB5) $$libs"; \ fi; \ $(CLEARENV) && $(MAKE) -f Makefile.shared -e $(BUILDENV) \