summaryrefslogtreecommitdiff
path: root/mk/platform
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-12-13 16:26:12 +0000
committernia <nia@pkgsrc.org>2020-12-13 16:26:12 +0000
commitc0b588f75477a009915dcf74c30fdf198d6acfa7 (patch)
tree65d47ee8edf7d9719e26c962d39a525a94295201 /mk/platform
parent3947b760970081b19fb21ae806a2a437e47ad640 (diff)
downloadpkgsrc-c0b588f75477a009915dcf74c30fdf198d6acfa7.tar.gz
platform/Linux: always prefer native pthread/libdl
Diffstat (limited to 'mk/platform')
-rw-r--r--mk/platform/Linux.mk6
1 files changed, 5 insertions, 1 deletions
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