summaryrefslogtreecommitdiff
path: root/usr.sbin/named/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/named/Makefile.inc')
-rw-r--r--usr.sbin/named/Makefile.inc6
1 files changed, 5 insertions, 1 deletions
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