PR: 2002
authorDr. Stephen Henson <steve@openssl.org>
Wed, 5 Aug 2009 15:51:39 +0000 (15:51 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 5 Aug 2009 15:51:39 +0000 (15:51 +0000)
Submitted by: Tomas Mraz <tmraz@redhat.com>
Obtained from: steve@openssl.org

Fix bug in libssl and krb5 linking in Makefile.org

Makefile.org

index ba29744..4bc71c0 100644 (file)
@@ -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) \