8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 16:43:03 +01:00

Avoid unneeded dependencies from termcap/curses library

This commit is contained in:
AlexPeshkoff 2020-07-16 18:32:44 +03:00
parent f47472f50f
commit 8c1ef78fcf
3 changed files with 2 additions and 2 deletions

View File

@ -534,7 +534,7 @@ $(GSTAT): $(GSTAT_Objects) $(COMMON_LIB)
isql: $(ISQL)
$(ISQL): $(ISQL_Objects) $(COMMON_LIB)
$(EXE_LINK) $(EXE_LINK_OPTIONS) $^ -o $@ $(FIREBIRD_LIBRARY_LINK) $(LIBEDITLINE) $(LINK_LIBS) $(call LINK_DARWIN_RPATH,..)
$(EXE_LINK) $(EXE_LINK_OPTIONS) $^ -o $@ $(FIREBIRD_LIBRARY_LINK) $(LIBEDITLINE) $(TERMLIB) $(LINK_LIBS) $(call LINK_DARWIN_RPATH,..)
nbackup: $(NBACKUP)

View File

@ -256,6 +256,7 @@ ifeq ($(EDITLINE_FLG),Y)
else
LIBEDITLINE := $(LIB)/libedit.a
endif
TERMLIB := -l@TERMLIB@
endif
# Shared library name for usage inside of the UDF

View File

@ -868,7 +868,6 @@ if test "$EDITLINE_FLG" = "Y"; then
AC_CHECK_LIB(tinfo, tgetent, TERMLIB=tinfo, \
AC_MSG_ERROR(termcap support not found)))))
AC_SUBST(TERMLIB)
XE_APPEND(-l$TERMLIB, LIBS)
fi
AC_SEARCH_LIBS(inet_aton, resolv)