aboutsummaryrefslogtreecommitdiff
path: root/security/cyrus-sasl2-saslauthd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/cyrus-sasl2-saslauthd/Makefile')
-rw-r--r--security/cyrus-sasl2-saslauthd/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/cyrus-sasl2-saslauthd/Makefile b/security/cyrus-sasl2-saslauthd/Makefile
index 6d8e92c53b75..ef7d30f204e9 100644
--- a/security/cyrus-sasl2-saslauthd/Makefile
+++ b/security/cyrus-sasl2-saslauthd/Makefile
@@ -76,6 +76,7 @@ CONFIGURE_ARGS+=--enable-httpform
.if !defined(WITHOUT_GSSAPI) && defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.so)
CONFIGURE_ARGS+=--enable-gssapi=${KRB5_HOME} --with-gss_impl=mit
+LDFLAGS+= "-R${KRB5_HOME}/lib"
.elif !defined(WITHOUT_GSSAPI) && defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}/lib/libgssapi.a)
CONFIGURE_ARGS+=--enable-gssapi=${HEIMDAL_HOME} --with-gss_impl=heimdal
.elif !defined(WITHOUT_GSSAPI) && exists(/usr/lib/libkrb5.a)