mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 20:03:02 +01:00
Avoid unneeded dependencies from termcap/curses library
This commit is contained in:
parent
f47472f50f
commit
8c1ef78fcf
@ -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)
|
||||
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user