diff options
Diffstat (limited to 'mk')
-rw-r--r-- | mk/dlopen.buildlink3.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/dlopen.buildlink3.mk b/mk/dlopen.buildlink3.mk index 40907688e82..2d0a6ca4b24 100644 --- a/mk/dlopen.buildlink3.mk +++ b/mk/dlopen.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: dlopen.buildlink3.mk,v 1.1 2004/11/25 21:33:37 jlam Exp $ +# $NetBSD: dlopen.buildlink3.mk,v 1.2 2004/11/25 21:43:19 jlam Exp $ # # This Makefile fragment is included by package Makefiles and # buildlink3.mk files for the packages that use dlopen(). @@ -24,7 +24,9 @@ _DLOPEN_REQUIRE_PTHREAD_PLATFORMS= \ _DLOPEN_REQUIRE_PTHREADS?= no .for _pattern_ in ${_DLOPEN_REQUIRE_PTHREAD_PLATFORMS} . if !empty(MACHINE_PLATFORM:${_pattern_}) +. if !empty(PREFER_NATIVE_PTHREADS:M[yY][eE][sS]) _DLOPEN_REQUIRE_PTHREADS= yes +. endif . endif .endfor |