Skip to content
Snippets Groups Projects
Commit 99e7e772 authored by Janet Anderson's avatar Janet Anderson
Browse files

Provide a link-time path for readline directory.

Remove unneeded READLINE definitions from last commit.
parent adb201a0
No related branches found
No related tags found
No related merge requests found
......@@ -30,9 +30,10 @@ ifeq ($(BUILD_CLASS),CROSS)
PRODDIR_RPATH_LDFLAGS_YES += $(PROD_DEPLIB_DIRS:%=-Wl,-rpath-link,%)
PRODDIR_LDFLAGS += $(PRODDIR_RPATH_LDFLAGS_$(LINKER_USE_RPATH))
LDLIBS_READLINE += -lreadline -lcurses
LDFLAGS_READLINE += -L$(GNU_DIR)/lib
RUNTIME_LDFLAGS_READLINE += -R$(GNU_DIR)/lib
RUNTIME_LDFLAGS += $(RUNTIME_LDFLAGS_$(COMMANDLINE_LIBRARY))
# Provide a link-time path for readline
RUNTIME_LDFLAGS_READLINE_YES = -Wl,-rpath-link,$(GNU_DIR)/lib
RUNTIME_LDFLAGS_READLINE = $(RUNTIME_LDFLAGS_READLINE_$(LINKER_USE_RPATH))
RUNTIME_LDFLAGS_READLINE_CURSES = $(RUNTIME_LDFLAGS_READLINE_$(LINKER_USE_RPATH))
RUNTIME_LDFLAGS_READLINE_NCURSES = $(RUNTIME_LDFLAGS_READLINE_$(LINKER_USE_RPATH))
endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment