Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Aug 2006 22:39:49 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 103145 for review
Message-ID:  <200608032239.k73Mdn32085689@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=103145

Change 103145 by jb@jb_freebsd2 on 2006/08/03 22:39:47

	Link to libpthread when threads aren't in libc.

Affected files ...

.. //depot/projects/dtrace/src/usr.bin/csup/Makefile#3 edit

Differences ...

==== //depot/projects/dtrace/src/usr.bin/csup/Makefile#3 (text) ====

@@ -1,5 +1,7 @@
 # $FreeBSD: src/usr.bin/csup/Makefile,v 1.3 2006/03/14 03:53:50 mux Exp $
 
+.include <bsd.own.mk>
+
 .PATH: ${.CURDIR}/../../contrib/csup
 
 PROG=	csup
@@ -33,4 +35,8 @@
 DPADD=	${LIBCRYPTO} ${LIBZ}
 LDADD=	-lcrypto -lz 
 
+.if ${MK_LIBC_THREADS} == "no"
+LDADD+= -lpthread
+.endif
+
 .include <bsd.prog.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608032239.k73Mdn32085689>