summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2005-01-26 00:17:03 +0000
committerjmallett <jmallett@FreeBSD.org>2005-01-26 00:17:03 +0000
commit3a3fcc332c30596888f2583c081f4e2633899eae (patch)
treede3d1d6ae26d449a5d297bbc7fb3ff0a74675525
parent146b6134f23f145d1a848740af8e0d43d8177969 (diff)
downloadFreeBSD-src-3a3fcc332c30596888f2583c081f4e2633899eae.zip
FreeBSD-src-3a3fcc332c30596888f2583c081f4e2633899eae.tar.gz
Linkage with -lobjc requires -lpthread nowadays.
-rw-r--r--share/mk/bsd.prog.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk
index 15e86e9..f94c00c 100644
--- a/share/mk/bsd.prog.mk
+++ b/share/mk/bsd.prog.mk
@@ -35,7 +35,7 @@ PROG= ${PROG_CXX}
# If there are Objective C sources, link with Objective C libraries.
.if !empty(SRCS:M*.m)
-OBJCLIBS?= -lobjc
+OBJCLIBS?= -lobjc -lpthread
LDADD+= ${OBJCLIBS}
.endif
OpenPOWER on IntegriCloud