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.
This commit is contained in:
François Revol 2013-03-26 08:10:59 +01:00
parent 2bb9ced3d6
commit 54199d7121

View File

@ -40,5 +40,5 @@ include $(CONTIKI)/cpu/native/Makefile.native
CURSES_LIBS ?= -lncurses
LDFLAGS += $(CURSES_LIBS)
TARGET_LIBFILES += $(CURSES_LIBS)