Fix compilation on FreeBSD.

This commit is contained in:
Tamas TEVESZ 2012-10-24 11:49:16 +02:00 committed by Daniel Beer
parent 277a795f01
commit b91614b0d1
1 changed files with 4 additions and 1 deletions

View File

@ -62,8 +62,11 @@ else
MSPDEBUG_CC = $(CC)
BINARY = mspdebug
ifneq ($(filter $(UNAME_S),FreeBSD OpenBSD),)
ifneq ($(filter $(UNAME_S),OpenBSD),)
OS_LIBS =
else ifneq ($(filter $(UNAME_S),FreeBSD),)
OS_CFLAGS = -pthread
OS_LIBS = -lpthread
else
OS_LIBS = -lpthread -ldl
endif