Fix FTBFS. Thanks to YunQiang Su for the patch (Closes: #713603)
[ckermit.git] / makefile
index 5292706..59450f4 100644 (file)
--- a/makefile
+++ b/makefile
@@ -6323,6 +6323,9 @@ linux+krb5+ssl linux+krb5+openssl:
        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; \
        GSSAPILIB='-lgssapi'; \
        if ls /lib/libgssapi_krb5* > /dev/null 2> /dev/null; then \
                GSSAPILIB='-lgssapi_krb5'; \