mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-15 12:27:50 +00:00
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:
@@ -40,5 +40,5 @@ include $(CONTIKI)/cpu/native/Makefile.native
|
|||||||
|
|
||||||
CURSES_LIBS ?= -lncurses
|
CURSES_LIBS ?= -lncurses
|
||||||
|
|
||||||
LDFLAGS += $(CURSES_LIBS)
|
TARGET_LIBFILES += $(CURSES_LIBS)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user