Linkage with -lobjc requires -lpthread nowadays.
This commit is contained in:
parent
f882eb5dad
commit
372ef8405c
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user