From 5a3e4a6b5f0a98b88eac59a96ffa0638567e7293 Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Thu, 8 May 2003 21:12:00 +0000 Subject: [PATCH] Added definitions for READLINE library. --- configure/os/CONFIG.Common.solaris-sparc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/configure/os/CONFIG.Common.solaris-sparc b/configure/os/CONFIG.Common.solaris-sparc index 4ab55a6af..2550c4a76 100644 --- a/configure/os/CONFIG.Common.solaris-sparc +++ b/configure/os/CONFIG.Common.solaris-sparc @@ -40,3 +40,13 @@ endif OP_SYS_LDLIBS += -lsocket -lnsl OP_SYS_LDLIBS_8 += -lCrun -lc -lCstd OP_SYS_LDLIBS += $(OP_SYS_LDLIBS_$(SOLARIS_VERSION)) + +# Definitions used when COMMANDLINE_LIBRARY is READLINE +GNU_DIR = /opt/gnu +INCLUDES_READLINE = -I$(GNU_DIR)/include +LDFLAGS_READLINE += -R$(GNU_DIR)/lib +LDFLAGS_READLINE += -L$(GNU_DIR)/lib +# There is a problem with the readline shared library +#LDLIBS_READLINE = -lreadline -lcurses +LDLIBS_READLINE += -Bstatic -lreadline -Bdynamic -lcurses +