mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Linkage with -lobjc requires -lpthread nowadays.
This commit is contained in:
parent
f882eb5dad
commit
372ef8405c
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue