From 15fc605a664fffc345ddc96b7d77e402af1f6d0f Mon Sep 17 00:00:00 2001 From: downsj Date: Thu, 13 Mar 1997 08:57:57 +0000 Subject: [PATCH] Do obj dir correctly. --- usr.sbin/named/Makefile.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/usr.sbin/named/Makefile.inc b/usr.sbin/named/Makefile.inc index 76888bd9318..a8c74a6e67b 100644 --- a/usr.sbin/named/Makefile.inc +++ b/usr.sbin/named/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.3 1997/03/12 10:41:46 downsj Exp $ +# $OpenBSD: Makefile.inc,v 1.4 1997/03/13 08:57:57 downsj Exp $ # $NetBSD: Makefile.inc,v 1.1 1996/02/02 15:25:35 mrg Exp $ # from: $Id: Makefile.inc,v 8.3 1995/12/31 23:28:00 vixie Exp @@ -15,4 +15,8 @@ CONFIG?= -DUSE_OPTIONS_H INCLUDE?= -I${.CURDIR} -I${BIND_DIR} -I${BIND_DIR}/include # we need to use our version of libresolv. +.if exists(${BIND_DIR}/libresolv/${__objdir}) LIBRESOLV= ${BIND_DIR}/libresolv/${__objdir}/libresolv.a +.else +LIBRESOLV= ${BIND_DIR}/libresolv/libresolv.a +.endif -- 2.20.1