From 7fa2565590c6db8685a21628e29e2b85de83ddd3 Mon Sep 17 00:00:00 2001 From: danw Date: Sun, 14 Sep 2003 16:30:34 +0000 Subject: -lpthread is a no-op on Darwin, but it messes up buildlink. So add a new flag _OPSYS_PTHREAD_AUTO ("yes" for Darwin, "no" for everyone else) and make pthread.buildlink2.mk do basically nothing in that case. --- mk/defs.Darwin.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mk/defs.Darwin.mk') diff --git a/mk/defs.Darwin.mk b/mk/defs.Darwin.mk index 0426729e7d3..128dc338714 100644 --- a/mk/defs.Darwin.mk +++ b/mk/defs.Darwin.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.Darwin.mk,v 1.54 2003/09/05 13:54:13 martti Exp $ +# $NetBSD: defs.Darwin.mk,v 1.55 2003/09/14 16:30:34 danw Exp $ # # Variable definitions for the Darwin operating system. @@ -112,6 +112,7 @@ _OPSYS_HAS_MANZ= yes # MANZ controls gzipping of man pages _OPSYS_HAS_OSSAUDIO= no # libossaudio is available _OPSYS_LIBTOOL_REQD= 1.4.20010614nb12 # base version of libtool required _OPSYS_PERL_REQD= 5.8.0 # base version of perl required +_OPSYS_PTHREAD_AUTO= yes # -lpthread not needed for pthreads _OPSYS_RPATH_NAME= darwin_has_no_rpath _PATCH_CAN_BACKUP= yes # native patch(1) can make backups _PATCH_BACKUP_ARG= -V simple -b -z # switch to patch(1) for backup suffix -- cgit v1.2.3