PERFORCE change 103145 for review

John Birrell jb at FreeBSD.org
Thu Aug 3 22:39:50 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=103145

Change 103145 by jb at 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>


More information about the p4-projects mailing list