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 2bcac176e9
commit ce9a913334

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