1
0
Fork 0
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:
Josh Elsasser 2006-07-04 18:02:45 +00:00
parent 7612153c8b
commit f4e0c4629c

View file

@ -17,7 +17,8 @@ endif
endif
ifeq ($(PTHREAD),yes)
ifeq ($(SYSTEM),FreeBSD)
ifneq ($(filter FreeBSD OpenBSD,$(SYSTEM)),)
TMPCFLAGS += -pthread
TMPLDFLAGS += -pthread
else
TMPLDFLAGS += -lpthread