From c0b588f75477a009915dcf74c30fdf198d6acfa7 Mon Sep 17 00:00:00 2001 From: nia Date: Sun, 13 Dec 2020 16:26:12 +0000 Subject: platform/Linux: always prefer native pthread/libdl --- mk/platform/Linux.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mk/platform') diff --git a/mk/platform/Linux.mk b/mk/platform/Linux.mk index fd383aba50b..b7a42b2e3a4 100644 --- a/mk/platform/Linux.mk +++ b/mk/platform/Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: Linux.mk,v 1.83 2020/01/28 08:38:47 rillig Exp $ +# $NetBSD: Linux.mk,v 1.84 2020/12/13 16:26:12 nia Exp $ # # Variable definitions for the Linux operating system. @@ -96,6 +96,10 @@ _OPSYS_PREFER.libexecinfo?= native _OPSYS_PREFER.libinotify?= native _OPSYS_PREFER.sysexits?= native +# We probably want the native library for these +_OPSYS_PREFER.dl?= native +_OPSYS_PREFER.pthread?= native + .if exists(/usr/include/netinet6) || exists(/usr/include/linux/in6.h) _OPSYS_HAS_INET6= yes # IPv6 is standard .else -- cgit v1.2.3