Added definitions for READLINE library.

This commit is contained in:
Janet B. Anderson
2003-05-08 21:12:00 +00:00
parent 60f4cac0d0
commit 5a3e4a6b5f

View File

@@ -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