ctk-curses: make sure gcc finds ncurses headers on cygwin
They are located in /usr/include/ncurses
This commit is contained in:
parent
45662ac1ef
commit
f63aada8b6
1 changed files with 4 additions and 0 deletions
|
@ -38,6 +38,10 @@ CONTIKI_SOURCEFILES += $(CTK) ctk-conio.c $(CONTIKI_TARGET_SOURCEFILES)
|
|||
CONTIKI_CPU=$(CONTIKI)/cpu/native
|
||||
include $(CONTIKI)/cpu/native/Makefile.native
|
||||
|
||||
ifeq ($(HOST_OS),Windows)
|
||||
CFLAGS += -I/usr/include/ncurses
|
||||
endif
|
||||
|
||||
CURSES_LIBS ?= -lncurses
|
||||
|
||||
TARGET_LIBFILES += $(CURSES_LIBS)
|
||||
|
|
Loading…
Reference in a new issue