From 864a3d49b08db2c3294aae935f9806a680cd8f82 Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 9 Jun 2005 05:59:51 +0000 Subject: Clarify why dlopen.builtin.mk ignores PREFER_* values. --- mk/dlopen.builtin.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mk/dlopen.builtin.mk') diff --git a/mk/dlopen.builtin.mk b/mk/dlopen.builtin.mk index 9b586306c61..655d1ed107b 100644 --- a/mk/dlopen.builtin.mk +++ b/mk/dlopen.builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: dlopen.builtin.mk,v 1.12 2005/06/08 08:13:05 jlam Exp $ +# $NetBSD: dlopen.builtin.mk,v 1.13 2005/06/09 05:59:51 jlam Exp $ BUILTIN_PKG:= dl @@ -25,6 +25,11 @@ MAKEVARS+= IS_BUILTIN.dl ### Determine whether we should use the built-in implementation if it ### exists, and set USE_BUILTIN. appropriate ("yes" or "no"). ### +# +# We ignore the value of PREFER_PKGSRC and PREFER_NATIVE because for +# every platform except for Darwin, we can only use the built-in +# dynamic linker functions, so USE_BUILTIN.dl must match IS_BUILTIN.dl. +# .if !defined(USE_BUILTIN.dl) USE_BUILTIN.dl= ${IS_BUILTIN.dl} . if ${OPSYS} == "Darwin" -- cgit v1.2.3