summaryrefslogtreecommitdiffstats
path: root/usr.sbin/cron/crontab/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/cron/crontab/Makefile')
-rw-r--r--usr.sbin/cron/crontab/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/cron/crontab/Makefile b/usr.sbin/cron/crontab/Makefile
index 09a1fdc..cce341d 100644
--- a/usr.sbin/cron/crontab/Makefile
+++ b/usr.sbin/cron/crontab/Makefile
@@ -6,9 +6,9 @@ CFLAGS+= -I${.CURDIR}/../cron
MAN1= crontab.1
MAN5= crontab.5
-.if exists(${.CURDIR}/../lib/obj)
-LDDESTDIR+= -L${.CURDIR}/../lib/obj
-DPADD+= ${.CURDIR}/../lib/obj/libcron.a
+.if exists(${.OBJDIR}/../lib)
+LDDESTDIR+= -L${.OBJDIR}/../lib
+DPADD+= ${.OBJDIR}/../lib/libcron.a
.else
LDDESTDIR+= -L${.CURDIR}/../lib
DPADD+= ${.CURDIR}/../lib/libcron.a
OpenPOWER on IntegriCloud