mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
Use -pthread on OpenBSD as well, and add it to CFLAGS in addition to LDFLAGS.
This commit is contained in:
parent
7612153c8b
commit
f4e0c4629c
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,8 @@ endif
|
|||
endif
|
||||
|
||||
ifeq ($(PTHREAD),yes)
|
||||
ifeq ($(SYSTEM),FreeBSD)
|
||||
ifneq ($(filter FreeBSD OpenBSD,$(SYSTEM)),)
|
||||
TMPCFLAGS += -pthread
|
||||
TMPLDFLAGS += -pthread
|
||||
else
|
||||
TMPLDFLAGS += -lpthread
|
||||
|
|
Loading…
Reference in a new issue