link pthreads in a way that works on freebsd too

This commit is contained in:
ehouse 2006-03-22 04:31:27 +00:00
parent b29bde8e37
commit a8463b9341

View file

@ -27,7 +27,7 @@ SRC = xwrelay.cpp \
permid.cpp \
OBJ = $(patsubst %.cpp,%.o,$(SRC))
LDFLAGS += -lpthread -g
LDFLAGS += -pthread -g
CPPFLAGS += -g -Wall
# turn on semaphore debugging
# CPPFLAGS += -DDEBUG_LOCKS