ctk-curses: Introduce CURSES_LIB makefile variable

This should allow overriding it depending on $(HOST_OS).
This commit is contained in:
François Revol 2013-03-26 01:12:09 +01:00
parent b7601c3acb
commit 343a7643b7

View file

@ -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)