From c48fe29e8978fac20ac3eabb8191a17a49720dc1 Mon Sep 17 00:00:00 2001 From: Janet Anderson Date: Wed, 10 Nov 2010 12:02:20 -0600 Subject: [PATCH] Allow arm cross targets to use readline as command line library. --- configure/os/CONFIG.Common.linux-arm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure/os/CONFIG.Common.linux-arm b/configure/os/CONFIG.Common.linux-arm index 15e44d5e9..100d7e029 100644 --- a/configure/os/CONFIG.Common.linux-arm +++ b/configure/os/CONFIG.Common.linux-arm @@ -29,4 +29,10 @@ ifeq ($(BUILD_CLASS),CROSS) # Provide a link-time path for products 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)) + endif