From 54199d712146dbbadc4f2a513122ba0aa895f4d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Tue, 26 Mar 2013 08:10:59 +0100 Subject: [PATCH] ctk-curses: add CURSES_LIB to TARGET_LIBFILES, not LDFLAGS It seems TARGET_LIBFILES is used at the end of the link command, unlike LDFLAGS, which should help when only a static curses lib is available, like on Haiku. --- platform/native/Makefile.native | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/native/Makefile.native b/platform/native/Makefile.native index 1fad9d81f..8643a1fa4 100644 --- a/platform/native/Makefile.native +++ b/platform/native/Makefile.native @@ -40,5 +40,5 @@ include $(CONTIKI)/cpu/native/Makefile.native CURSES_LIBS ?= -lncurses -LDFLAGS += $(CURSES_LIBS) +TARGET_LIBFILES += $(CURSES_LIBS)