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:
parent
2bb9ced3d6
commit
54199d7121
1 changed files with 1 additions and 1 deletions
|
@ -40,5 +40,5 @@ include $(CONTIKI)/cpu/native/Makefile.native
|
|||
|
||||
CURSES_LIBS ?= -lncurses
|
||||
|
||||
LDFLAGS += $(CURSES_LIBS)
|
||||
TARGET_LIBFILES += $(CURSES_LIBS)
|
||||
|
||||
|
|
Loading…
Reference in a new issue