Linkage with -lobjc requires -lpthread nowadays.

This commit is contained in:
Juli Mallett 2005-01-26 00:17:03 +00:00
parent f882eb5dad
commit 372ef8405c

View File

@ -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