Fix FTBFS: botched modification of YunQiang Su's perfectly good patch
[ckermit.git] / makefile
index 59450f4..41eee42 100644 (file)
--- a/makefile
+++ b/makefile
@@ -6322,10 +6322,9 @@ linux+krb5+ssl linux+krb5+openssl:
        COM_ERR=''; \
        if ls /lib/libcom_err* > /dev/null 2> /dev/null; then \
                COM_ERR='-lcom_err'; \
-       fi; \
        else if ls /lib/$(MULTIARCH)/libcom_err* > /dev/null 2> /dev/null; then \
                COM_ERR='-lcom_err'; \
-       fi; \
+       fi; fi; \
        GSSAPILIB='-lgssapi'; \
        if ls /lib/libgssapi_krb5* > /dev/null 2> /dev/null; then \
                GSSAPILIB='-lgssapi_krb5'; \