Fix linking on OpenBSD (-ldl is not required).
This commit is contained in:
parent
83048f233f
commit
d451c384e7
16
Makefile
16
Makefile
|
@ -49,13 +49,19 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(OS),Windows_NT)
|
ifeq ($(OS),Windows_NT)
|
||||||
MSPDEBUG_CC = gcc
|
MSPDEBUG_CC = gcc
|
||||||
OS_LIBS = -lws2_32 -lregex
|
BINARY = mspdebug.exe
|
||||||
BINARY = mspdebug.exe
|
|
||||||
|
OS_LIBS = -lws2_32 -lregex
|
||||||
else
|
else
|
||||||
MSPDEBUG_CC = $(CC)
|
MSPDEBUG_CC = $(CC)
|
||||||
|
BINARY = mspdebug
|
||||||
|
|
||||||
|
ifeq ($(UNAME),OpenBSD)
|
||||||
|
OS_LIBS =
|
||||||
|
else
|
||||||
OS_LIBS = -ldl
|
OS_LIBS = -ldl
|
||||||
BINARY = mspdebug
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
INCLUDES = -I. -Isimio -Iformats -Idrivers -Iutil -Iui
|
INCLUDES = -I. -Isimio -Iformats -Idrivers -Iutil -Iui
|
||||||
|
|
Loading…
Reference in New Issue