From 343a7643b7f90a1af995c83748867d32e520e50e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Tue, 26 Mar 2013 01:12:09 +0100 Subject: [PATCH] ctk-curses: Introduce CURSES_LIB makefile variable This should allow overriding it depending on $(HOST_OS). --- platform/native/Makefile.native | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)