Fix compilation on FreeBSD.
This commit is contained in:
parent
277a795f01
commit
b91614b0d1
5
Makefile
5
Makefile
|
@ -62,8 +62,11 @@ else
|
||||||
MSPDEBUG_CC = $(CC)
|
MSPDEBUG_CC = $(CC)
|
||||||
BINARY = mspdebug
|
BINARY = mspdebug
|
||||||
|
|
||||||
ifneq ($(filter $(UNAME_S),FreeBSD OpenBSD),)
|
ifneq ($(filter $(UNAME_S),OpenBSD),)
|
||||||
OS_LIBS =
|
OS_LIBS =
|
||||||
|
else ifneq ($(filter $(UNAME_S),FreeBSD),)
|
||||||
|
OS_CFLAGS = -pthread
|
||||||
|
OS_LIBS = -lpthread
|
||||||
else
|
else
|
||||||
OS_LIBS = -lpthread -ldl
|
OS_LIBS = -lpthread -ldl
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue