diff --git a/platform/native/Makefile.native b/platform/native/Makefile.native index 369a1fd45..1fad9d81f 100644 --- a/platform/native/Makefile.native +++ b/platform/native/Makefile.native @@ -38,5 +38,7 @@ CONTIKI_SOURCEFILES += $(CTK) ctk-conio.c $(CONTIKI_TARGET_SOURCEFILES) CONTIKI_CPU=$(CONTIKI)/cpu/native include $(CONTIKI)/cpu/native/Makefile.native -LDFLAGS += -lncurses +CURSES_LIBS ?= -lncurses + +LDFLAGS += $(CURSES_LIBS)