summaryrefslogtreecommitdiffstats
path: root/usr.bin/su/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/su/Makefile')
-rw-r--r--usr.bin/su/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/su/Makefile b/usr.bin/su/Makefile
index ff98997..e468065 100644
--- a/usr.bin/su/Makefile
+++ b/usr.bin/su/Makefile
@@ -19,7 +19,7 @@ COPTS+= -DWHEELSU
.endif
CFLAGS+= -Wall
-.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4) \
+.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4) \
&& !defined(LC_AUTH)
CFLAGS+=-DKERBEROS
DPADD+= ${LIBKRB} ${LIBDES}
OpenPOWER on IntegriCloud