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 +