summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/Makefile.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/sbin/Makefile.inc b/sbin/Makefile.inc
index 470d869..8b44b5f 100644
--- a/sbin/Makefile.inc
+++ b/sbin/Makefile.inc
@@ -2,3 +2,13 @@
BINDIR?= /sbin
NOSHARED?= YES
+
+.if exists (${.CURDIR}/../../secure)
+
+.if exists(${.CURDIR}/../../secure/lib/libcrypt/obj)
+CRYPTOBJDIR= ${.CURDIR}/../../secure/lib/libcrypt/obj
+.else
+CRYPTOBJDIR= ${.CURDIR}/../../secure/lib/libcrypt
+.endif
+
+.endif
OpenPOWER on IntegriCloud