From 21833d996a208120692518697b3b79a9275ea3c9 Mon Sep 17 00:00:00 2001 From: obache Date: Sun, 28 Apr 2013 13:43:55 +0000 Subject: Fixes builtin dl prefix other than /usr. --- mk/dlopen.builtin.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'mk') diff --git a/mk/dlopen.builtin.mk b/mk/dlopen.builtin.mk index 700966af07c..65f384cf7a8 100644 --- a/mk/dlopen.builtin.mk +++ b/mk/dlopen.builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: dlopen.builtin.mk,v 1.24 2012/05/04 08:31:14 obache Exp $ +# $NetBSD: dlopen.builtin.mk,v 1.25 2013/04/28 13:43:55 obache Exp $ BUILTIN_PKG:= dl @@ -86,8 +86,12 @@ CHECK_BUILTIN.dl?= no .if !empty(CHECK_BUILTIN.dl:M[nN][oO]) . if !empty(USE_BUILTIN.dl:M[yY][eE][sS]) -. if empty(H_DL:M__nonexistent__) && !empty(H_DL:M/usr/*) +. if empty(H_DL:M__nonexistent__) +. if !empty(H_DL:M/usr/*) BUILDLINK_PREFIX.dl= /usr +. else +BUILDLINK_PREFIX.dl= # empty +. endif . endif . if !empty(BUILTIN_LIB_FOUND.dl:M[yY][eE][sS]) # -- cgit v1.2.3